summaryrefslogtreecommitdiff
path: root/examples/openrc/utmpd
blob: a091528bb3f72d75cec9247cb4ec889b15c3bfea (plain)
1
2
3
4
5
6
7
8
#!/sbin/openrc-run

# Assumes the /run/utmps directory already exists and belongs to utmp

name="utmpd"
command="s6-ipcserver -- /run/utmps/utmpd-socket utmps-utmpd"
pidfile="/run/utmps/utmpd.pid"
start_stop_daemon_args="-b -m -c utmp -d /run/utmps"