]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/systemd-update-utmp-runlevel.service.in
network: do not send DHCPRELEASE when CriticalConnection= is enabled
[thirdparty/systemd.git] / units / systemd-update-utmp-runlevel.service.in
index 27fae2cd02d3e77b9a67823934d96bdee4c4e913..642d926a316cee742eae717a1a1d57c42c47e2c7 100644 (file)
@@ -1,3 +1,5 @@
+#  SPDX-License-Identifier: LGPL-2.1+
+#
 #  This file is part of systemd.
 #
 #  systemd is free software; you can redistribute it and/or modify it
@@ -7,12 +9,14 @@
 
 [Unit]
 Description=Update UTMP about System Runlevel Changes
-Documentation=man:systemd-update-utmp-runlevel.service(8) man:utmp(5)
+Documentation=man:systemd-update-utmp.service(8) man:utmp(5)
 DefaultDependencies=no
 RequiresMountsFor=/var/log/wtmp
-After=systemd-remount-fs.service systemd-tmpfiles-setup.service auditd.service
+Conflicts=shutdown.target
+Requisite=systemd-update-utmp.service
+After=systemd-update-utmp.service
 After=runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target
-Before=final.target
+Before=shutdown.target
 
 [Service]
 Type=oneshot