mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
19 lines
301 B
Plaintext
19 lines
301 B
Plaintext
#!/sbin/openrc-run
|
|
|
|
name=ympd
|
|
command=/usr/bin/$name
|
|
command_args="-u $ympd_user"
|
|
command_background=YES
|
|
pidfile=$ympd_pid
|
|
|
|
depend() {
|
|
use logger dns
|
|
need net
|
|
after firewall
|
|
}
|
|
|
|
start_pre() {
|
|
checkpath --directory --owner "$ympd_user" \
|
|
--mode 0775 /var/run/"$name"
|
|
}
|