summaryrefslogtreecommitdiff
path: root/units/systemd-update-utmp-runlevel.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'units/systemd-update-utmp-runlevel.service.in')
-rw-r--r--units/systemd-update-utmp-runlevel.service.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/units/systemd-update-utmp-runlevel.service.in b/units/systemd-update-utmp-runlevel.service.in
index 90bb9379e0..0b4c83dd86 100644
--- a/units/systemd-update-utmp-runlevel.service.in
+++ b/units/systemd-update-utmp-runlevel.service.in
@@ -9,6 +9,8 @@
Description=Notify Audit System and Update UTMP about System Runlevel Changes
DefaultDependencies=no
After=runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target auditd.service
+Conflicts=shutdown.target
+Before=shutdown.target
[Service]
Type=oneshot