summaryrefslogtreecommitdiff
path: root/xi/s6/base/run-image/service/wtmpd/run
blob: 79815bbae3dd11ec0b9d886fd243368f1a3a5a88 (plain)
1
2
3
4
5
6
7
8
#!/bin/execlineb -P

fdmove -c 2 1
s6-setuidgid "utmp"
cd /run/utmps
fdmove 1 3
s6-ipcserver -1 -c 1000 -- /run/utmps/.wtmpd-socket
utmps-wtmpd