1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-16 12:45:18 +03:00
aports/testing/monopd/monopd.initd
2025-01-11 11:09:56 +00:00

17 lines
343 B
Bash

#!/sbin/openrc-run
supervisor=supervise-daemon
command=/usr/bin/monopd
command_user="monopd:monopd"
output_log=/var/log/$RC_SVCNAME.log
depend() {
need net
}
start_pre() {
checkpath --directory --owner $command_user --mode 0775 \
/var/cache/$RC_SVCNAME
checkpath --file --owner $command_user --mode 0644 \
/var/log/$RC_SVCNAME.log
}