summaryrefslogtreecommitdiff
path: root/system/utmps/btmpd.service
blob: 4a6e93a4566e7362c5e91242cb8296cd775f6f92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=s6-utmps secure BTMP 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 -- .btmpd-socket /bin/utmps-btmpd
User=utmp
Group=utmp

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