chiark / gitweb /
install: do not statically enable systemd-networkd
[elogind.git] / units / systemd-update-utmp-runlevel.service.in
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]
9 Description=Update UTMP about System Runlevel Changes
10 Documentation=man:systemd-update-utmp.service(8) man:utmp(5)
11 DefaultDependencies=no
12 RequiresMountsFor=/var/log/wtmp
13 Conflicts=shutdown.target
14 Requisite=systemd-update-utmp.service
15 After=systemd-update-utmp.service
16 After=runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target
17 Before=shutdown.target
18
19 [Service]
20 Type=oneshot
21 ExecStart=@rootlibexecdir@/systemd-update-utmp runlevel