1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 10:45:15 +03:00
aports/community/janus-gateway/janus-gateway.initd

16 lines
326 B
Bash

#!/sbin/openrc-run
command=/usr/bin/janus
command_user="$JANUS_USER:$JANUS_GROUP"
command_args="$JANUS_OPTS -L /var/log/janus.log"
command_background=true
pidfile=/run/janus.pid
required_files="/etc/janus/janus.jcfg"
depend() {
need net
}
start_pre() {
checkpath -f -o $JANUS_USER:$JANUS_GROUP -m644 /var/log/janus.log
}