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

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

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