summaryrefslogtreecommitdiff
path: root/examples/s6/wtmpd/run
blob: 9cc49b7c74e7df473c70de09c51a3dbc11dbd35c (plain)
1
2
3
4
5
6
7
8
9
#!/bin/execlineb -P

fdmove -c 2 1
unexport ?
s6-setuidgid utmp
cd /run/utmps
fdmove 1 3
s6-ipcserver -1 -- /run/utmps/wtmpd-socket
utmps-wtmpd