1 2 3 4 5 6 7 8 9 10 11 12 13
#!/sbin/openrc-run name="wtmpd" command="s6-ipcserver" command_args="/run/utmps/wtmpd-socket utmps-wtmpd" command_background=yes command_user=utmp pidfile="/run/utmps/wtmpd.pid" start_stop_daemon_args="-d /run/utmps" start_pre() { checkpath -D -d -o utmp:utmp -m 0755 /run/utmps }