diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-06-25 14:24:56 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-06-25 14:28:50 +0200 |
commit | 0e0320e04500d1e68630b3973714f14cfb7b3450 (patch) | |
tree | 3539fd7fb20ee672bbf6f096b74a6def5c5df7b0 /units/systemd-update-utmp-runlevel.service.in | |
parent | 93a1d735aca5584a005d851f12cb0b8c7bb5e5ca (diff) |
units: rename halt/hibernate/kexec/poweroff/reboot/suspend to systed-xxx
These service units also execute our own code, hence rename the
accordingly and prefix them with systemd-
Diffstat (limited to 'units/systemd-update-utmp-runlevel.service.in')
-rw-r--r-- | units/systemd-update-utmp-runlevel.service.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/units/systemd-update-utmp-runlevel.service.in b/units/systemd-update-utmp-runlevel.service.in index 6666dbd790..7b6fbadf12 100644 --- a/units/systemd-update-utmp-runlevel.service.in +++ b/units/systemd-update-utmp-runlevel.service.in @@ -9,8 +9,10 @@ Description=Update UTMP about System Runlevel Changes Documentation=man:utmp(5) DefaultDependencies=no -After=local-fs.target sysinit.target auditd.service runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target systemd-tmpfiles-setup.service -Before=poweroff.service reboot.service halt.service +RequiresMountsFor=/var/log/wtmp +After=systemd-remount-fs.service systemd-tmpfiles-setup.service auditd.service +After=runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target +Before=final.target [Service] Type=oneshot |