mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-24 10:01:38 +01:00
20 lines
281 B
Plaintext
20 lines
281 B
Plaintext
#!/sbin/runscript
|
|
|
|
NAME=freeswitch
|
|
USER=freeswitch
|
|
DAEMON=/usr/bin/freeswitch
|
|
OPTIONS_START="-u $USER -g $GROUP -nc"
|
|
OPTIONS_STOP="-stop"
|
|
|
|
start() {
|
|
ebegin "Starting $NAME"
|
|
$DAEMON $OPTIONS_START
|
|
eend 0
|
|
}
|
|
|
|
stop() {
|
|
ebegin "Stopping $NAME"
|
|
$DAEMON $OPTIONS_STOP
|
|
eend 0
|
|
}
|