bouncer/misc/packaging/openrc/bouncer-proxy.openrc.sh
William Petit b0f3cba188
All checks were successful
Cadoles/bouncer/pipeline/head This commit looks good
feat: initial commit
2023-05-15 20:01:05 +02:00

15 lines
371 B
Bash

#!/sbin/openrc-run
command="/usr/bin/bouncer"
command_args="--workdir /usr/share/bouncer --config /etc/bouncer/config.yml proxy run"
supervisor=supervise-daemon
output_log="/var/log/bouncer/proxy.log"
error_log="$output_log"
start_pre() {
/usr/bin/bouncer --workdir /usr/share/bouncer --config /etc/bouncer/config.yml database migrate
}
depend() {
need net
}