]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-update-utmp-runlevel.service.in
units: .gitignore: units - ignore tmp.mount
[thirdparty/systemd.git] / units / systemd-update-utmp-runlevel.service.in
CommitLineData
cd6d0a45
LP
1# This file is part of systemd.
2#
3# systemd is free software; you can redistribute it and/or modify it
5430f7f2
LP
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
cd6d0a45
LP
6# (at your option) any later version.
7
8[Unit]
186b97d9 9Description=Update UTMP about System Runlevel Changes
3f92e4b4 10Documentation=man:systemd-update-utmp.service(8) man:utmp(5)
cd6d0a45 11DefaultDependencies=no
0e0320e0 12RequiresMountsFor=/var/log/wtmp
3f92e4b4
LP
13Conflicts=shutdown.target
14Requisite=systemd-update-utmp.service
15After=systemd-update-utmp.service
0e0320e0 16After=runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target
3f92e4b4 17Before=shutdown.target
cd6d0a45
LP
18
19[Service]
34e9ba66 20Type=oneshot
5192bd19 21ExecStart=@rootlibexecdir@/systemd-update-utmp runlevel