mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-28 20:11:34 +01:00
19 lines
408 B
Plaintext
19 lines
408 B
Plaintext
#!/sbin/openrc-run
|
|
# Copyright 2020 Laurent Bercot for Alpine Linux
|
|
# Distributed under the terms of the ISC License.
|
|
#
|
|
|
|
name=wtmpd
|
|
description="utmps daemon for the wtmp service"
|
|
command=s6-ipcserver
|
|
command_args=".wtmpd-socket utmps-wtmpd"
|
|
command_user=utmp
|
|
command_background=true
|
|
directory=/run/utmps
|
|
pidfile=/run/utmps/wtmpd.pid
|
|
|
|
start_pre() {
|
|
mkdir -p -m 0755 /run/utmps
|
|
chown utmp:utmp /run/utmps
|
|
}
|