feat: initial commit
All checks were successful
Cadoles/bouncer/pipeline/head This commit looks good
All checks were successful
Cadoles/bouncer/pipeline/head This commit looks good
This commit is contained in:
15
misc/packaging/openrc/bouncer-admin.openrc.sh
Normal file
15
misc/packaging/openrc/bouncer-admin.openrc.sh
Normal file
@ -0,0 +1,15 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
command="/usr/bin/bouncer"
|
||||
command_args="--workdir /usr/share/bouncer --config /etc/bouncer/config.yml server admin run"
|
||||
supervisor=supervise-daemon
|
||||
output_log="/var/log/bouncer/admin.log"
|
||||
error_log="$output_log"
|
||||
|
||||
start_pre() {
|
||||
/usr/bin/bouncer --workdir /usr/share/bouncer --config /etc/bouncer/config.yml database migrate
|
||||
}
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
15
misc/packaging/openrc/bouncer-proxy.openrc.sh
Normal file
15
misc/packaging/openrc/bouncer-proxy.openrc.sh
Normal file
@ -0,0 +1,15 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
command="/usr/bin/bouncer"
|
||||
command_args="--workdir /usr/share/bouncer --config /etc/bouncer/config.yml server 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
|
||||
}
|
Reference in New Issue
Block a user