2010-08-11 04:38:55 +02:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
2012-04-12 00:20:58 +02: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 04:38:55 +02:00
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
2012-04-13 19:38:57 +02:00
|
|
|
Description=Update UTMP about System Shutdown
|
2012-06-25 22:07:58 +02:00
|
|
|
Documentation=man:systemd-update-utmp-runlevel.service(8) man:utmp(5)
|
2010-08-11 04:38:55 +02:00
|
|
|
DefaultDependencies=no
|
2012-06-25 14:24:56 +02:00
|
|
|
RequiresMountsFor=/var/log/wtmp
|
|
|
|
After=systemd-remount-fs.service systemd-tmpfiles-setup.service auditd.service
|
|
|
|
After=systemd-update-utmp-runlevel.service
|
|
|
|
Before=final.target
|
2010-08-11 04:38:55 +02:00
|
|
|
|
|
|
|
[Service]
|
2010-08-13 18:23:01 +02:00
|
|
|
Type=oneshot
|
2010-08-17 03:29:46 +02:00
|
|
|
ExecStart=@rootlibexecdir@/systemd-update-utmp shutdown
|