]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-update-utmp-runlevel.service.in
shutdownd: kill /etc/nologin file before we go down
[thirdparty/systemd.git] / units / systemd-update-utmp-runlevel.service.in
CommitLineData
cd6d0a45
LP
1# This file is part of systemd.
2#
3# systemd is free software; you can redistribute it and/or modify it
4# under the terms of the GNU General Public License as published by
5# the Free Software Foundation; either version 2 of the License, or
6# (at your option) any later version.
7
8[Unit]
9Description=Notify Audit System and Update UTMP about System Runlevel Changes
10DefaultDependencies=no
11After=runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target auditd.service
0dcc7857
LP
12Conflicts=shutdown.target
13Before=shutdown.target
cd6d0a45
LP
14
15[Service]
34e9ba66 16Type=oneshot
cd6d0a45 17ExecStart=-@rootlibexecdir@/systemd-update-utmp runlevel