2010-08-11 10:38:55 +08:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
|
|
# under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Notify Audit System and Update UTMP about System Shutdown
|
|
|
|
DefaultDependencies=no
|
2010-09-14 07:07:06 +08:00
|
|
|
Wants=local-fs.target sysinit.target
|
|
|
|
After=local-fs.target sysinit.target auditd.service systemd-update-utmp-runlevel.service
|
2010-08-15 01:25:12 +08:00
|
|
|
Before=poweroff.service reboot.service halt.service killall.service
|
2010-08-11 10:38:55 +08:00
|
|
|
|
|
|
|
[Service]
|
2010-08-14 00:23:01 +08:00
|
|
|
Type=oneshot
|
2010-08-17 09:29:46 +08:00
|
|
|
ExecStart=@rootlibexecdir@/systemd-update-utmp shutdown
|