summaryrefslogtreecommitdiff
path: root/xi/s6/base/run-image/service/utmpd/run
blob: 35c60c55fc0ade241b52e1a2db3621f31e6dfd9c (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/.utmpd-socket
utmps-utmpd