X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsystemd-update-utmp-shutdown.service.in;h=e86c7705486ef9d3dd43789b50d92ba9e5767a33;hp=f5d1342243b9b4fdd266f3919055a2507c6f8b60;hb=86fff248642cc9c0daef6da4e6e0a443bcb271d2;hpb=34e9ba669e75fb3b8f481076e75df5c2abb8192b diff --git a/units/systemd-update-utmp-shutdown.service.in b/units/systemd-update-utmp-shutdown.service.in index f5d134224..e86c77054 100644 --- a/units/systemd-update-utmp-shutdown.service.in +++ b/units/systemd-update-utmp-shutdown.service.in @@ -1,16 +1,16 @@ # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. [Unit] -Description=Notify Audit System and Update UTMP about System Shutdown +Description=Update UTMP about System Shutdown DefaultDependencies=no -Before=killall.service -Conflicts=systemd-update-utmp-runlevel.service +After=local-fs.target sysinit.target auditd.service systemd-update-utmp-runlevel.service +Before=poweroff.service reboot.service halt.service [Service] Type=oneshot -ExecStart=-@rootlibexecdir@/systemd-update-utmp shutdown +ExecStart=@rootlibexecdir@/systemd-update-utmp shutdown