summaryrefslogtreecommitdiff
path: root/system/utmps/wtmpd.service
blob: ba10970b7dd499876c48e2b45b84ecfde479fdd9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=s6-utmps secure WTMP service
Documentation=https://www.skarnet.org/software/utmps/
Before=systemd-update-utmp.service systemd-logind.service

[Service]
Type=exec
RuntimeDirectory=utmps
RuntimeDirectoryPreserve=yes
WorkingDirectory=-/run/utmps
ExecStart=/bin/s6-ipcserver -1 -- .wtmpd-socket /bin/utmps-wtmpd
User=utmp
Group=utmp

[Install]
WantedBy=basic.target
RequiredBy=multi-user.target systemd-logind.service