mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-14 18:22:41 +02:00
A generic and re-combinable telephony application server that can include additional functionality for specific systems. Related to coventry, and uses moderncli for common code.
28 lines
546 B
Bash
28 lines
546 B
Bash
#!/sbin/openrc-run
|
|
|
|
supervisor=supervise-daemon
|
|
name=bordeaux
|
|
command="/usr/sbin/bordeaux"
|
|
command_args="-d ${DRIVER:-coventry}"
|
|
pidfile="/run/bordeaux.pid"
|
|
extra_started_commands="reload"
|
|
|
|
depend() {
|
|
use logger dns
|
|
need net
|
|
after firewall ${DEPENDS:-coventry}
|
|
}
|
|
|
|
stop() {
|
|
ebegin "Stopping ${RC_SVCNAME}"
|
|
start-stop-daemon --signal INT --pidfile "${pidfile}"
|
|
eend $? "Failed to stop ${RC_SVCNAME}"
|
|
}
|
|
|
|
reload() {
|
|
ebegin "Reloading ${RC_SVCNAME}"
|
|
start-stop-daemon --signal HUP --pidfile "${pidfile}"
|
|
eend $?
|
|
}
|
|
|