]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-update-utmp-runlevel.service.in
update TODO
[thirdparty/systemd.git] / units / systemd-update-utmp-runlevel.service.in
CommitLineData
cd6d0a45
LP
1# This file is part of systemd.
2#
3# systemd is free software; you can redistribute it and/or modify it
5430f7f2
LP
4# under the terms of the GNU Lesser General Public License as published by
5# the Free Software Foundation; either version 2.1 of the License, or
cd6d0a45
LP
6# (at your option) any later version.
7
8[Unit]
186b97d9 9Description=Update UTMP about System Runlevel Changes
6b7b9205 10Documentation=man:systemd-update-utmp-runlevel.service(8) man:utmp(5)
cd6d0a45 11DefaultDependencies=no
0e0320e0
LP
12RequiresMountsFor=/var/log/wtmp
13After=systemd-remount-fs.service systemd-tmpfiles-setup.service auditd.service
14After=runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target
15Before=final.target
cd6d0a45
LP
16
17[Service]
34e9ba66 18Type=oneshot
5192bd19 19ExecStart=@rootlibexecdir@/systemd-update-utmp runlevel