]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-update-utmp.service.in
Merge pull request #1726 from teg/networkd-2
[thirdparty/systemd.git] / units / systemd-update-utmp.service.in
CommitLineData
3f92e4b4
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 Lesser General Public License as published by
5# the Free Software Foundation; either version 2.1 of the License, or
6# (at your option) any later version.
7
8[Unit]
9533ad1f 9Description=Update UTMP about System Boot/Shutdown
3f92e4b4
LP
10Documentation=man:systemd-update-utmp.service(8) man:utmp(5)
11DefaultDependencies=no
12RequiresMountsFor=/var/log/wtmp
13Conflicts=shutdown.target
d6bc8348 14After=systemd-remount-fs.service systemd-tmpfiles-setup.service auditd.service
3f92e4b4
LP
15Before=sysinit.target shutdown.target
16
17[Service]
18Type=oneshot
19RemainAfterExit=yes
20ExecStart=@rootlibexecdir@/systemd-update-utmp reboot
21ExecStop=@rootlibexecdir@/systemd-update-utmp shutdown