chiark / gitweb /
Fedora: Assorted tweaks to Fedora single-user mode.
[elogind.git] / units / systemd-update-utmp-runlevel.service.in
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]
9 Description=Notify Audit System and Update UTMP about System Runlevel Changes
10 DefaultDependencies=no
11 Wants=local-fs.target sysinit.target
12 After=local-fs.target sysinit.target auditd.service runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target systemd-tmpfiles-setup.service
13 Before=poweroff.service reboot.service halt.service
14
15 [Service]
16 Type=oneshot
17 ExecStart=@rootlibexecdir@/systemd-update-utmp runlevel