1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-16 04:35:13 +03:00
aports/testing/py3-pyatem/openswitcher-proxy.initd
2021-11-26 17:06:54 +01:00

21 lines
398 B
Bash

#!/sbin/openrc-run
name="OpenSwitcher Proxy"
description="Reverse proxy for the ATEM protocol"
: ${cfgfile:="/etc/openswitcher/proxy.toml"}
command="/usr/bin/openswitcher-proxy"
command_args="--config $cfgfile"
command_user="openswitcher:openswitcher"
required_files="$cfgfile"
depend() {
need net
after firewall
}
start_pre() {
checkpath -f --owner "$command_user" --mode 0644 $logfile
}