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

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