about summary refs log tree commit diff
path: root/examples/s6-rc/utmpd/run
blob: 417ef5e636abfbbe6a3e285b9e8e05ba37a33e9e (plain) (blame)
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 -- /run/utmps/utmpd-socket
utmps-utmpd