]>
Commit | Line | Data |
---|---|---|
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 | 9 | Description=Update UTMP about System Runlevel Changes |
6b7b9205 | 10 | Documentation=man:systemd-update-utmp-runlevel.service(8) man:utmp(5) |
cd6d0a45 | 11 | DefaultDependencies=no |
0e0320e0 LP |
12 | RequiresMountsFor=/var/log/wtmp |
13 | After=systemd-remount-fs.service systemd-tmpfiles-setup.service auditd.service | |
14 | After=runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target | |
15 | Before=final.target | |
cd6d0a45 LP |
16 | |
17 | [Service] | |
34e9ba66 | 18 | Type=oneshot |
5192bd19 | 19 | ExecStart=@rootlibexecdir@/systemd-update-utmp runlevel |