2010-08-11 02:38:55 +00:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
2012-04-11 22:20:58 +00:00
|
|
|
# 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
|
2010-08-11 02:38:55 +00:00
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
2012-04-13 17:38:57 +00:00
|
|
|
Description=Update UTMP about System Runlevel Changes
|
2012-05-21 13:12:18 +00:00
|
|
|
Documentation=man:utmp(5)
|
2010-08-11 02:38:55 +00:00
|
|
|
DefaultDependencies=no
|
2010-10-19 21:45:18 +00:00
|
|
|
After=local-fs.target sysinit.target auditd.service runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target systemd-tmpfiles-setup.service
|
2010-10-25 21:54:36 +00:00
|
|
|
Before=poweroff.service reboot.service halt.service
|
2010-08-11 02:38:55 +00:00
|
|
|
|
|
|
|
[Service]
|
2010-08-13 16:23:01 +00:00
|
|
|
Type=oneshot
|
2010-08-17 01:29:46 +00:00
|
|
|
ExecStart=@rootlibexecdir@/systemd-update-utmp runlevel
|