]>
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 |
3f92e4b4 | 10 | Documentation=man:systemd-update-utmp.service(8) man:utmp(5) |
cd6d0a45 | 11 | DefaultDependencies=no |
0e0320e0 | 12 | RequiresMountsFor=/var/log/wtmp |
3f92e4b4 LP |
13 | Conflicts=shutdown.target |
14 | Requisite=systemd-update-utmp.service | |
15 | After=systemd-update-utmp.service | |
0e0320e0 | 16 | After=runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target |
3f92e4b4 | 17 | Before=shutdown.target |
cd6d0a45 LP |
18 | |
19 | [Service] | |
34e9ba66 | 20 | Type=oneshot |
5192bd19 | 21 | ExecStart=@rootlibexecdir@/systemd-update-utmp runlevel |