mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-16 20:55:20 +03:00
21 lines
398 B
Bash
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
|
|
}
|