1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/community/coturn/turnserver.initd
Carlo Landmeter 3ba75a4402 testing/coturn: move to community
run testsuites
2017-11-22 08:17:54 +00:00

13 lines
343 B
Text

#!/sbin/openrc-run
description="TURN and STUN Server"
name=turnserver
command=/usr/bin/turnserver
command_user=turnserver
pidfile=/run/turnserver/turnserver.pid
command_args="--no-stdout-log --daemon --pidfile $pidfile"
start_pre() {
checkpath --directory --owner turnserver:turnserver --mode 0775 \
/run/turnserver /var/log/turnserver
}