Merge pull request #722 from micmac1/ast-init
asterisk: init script changes
This commit is contained in:
commit
7fa7115d7a
1 changed files with 5 additions and 1 deletions
|
@ -10,7 +10,7 @@ USE_PROCD=1
|
||||||
NAME=asterisk
|
NAME=asterisk
|
||||||
COMMAND=/usr/sbin/$NAME
|
COMMAND=/usr/sbin/$NAME
|
||||||
|
|
||||||
LOGGER="/usr/bin/logger -p user.err -s -t $NAME --"
|
LOGGER="/usr/bin/logger -p daemon.err -s -t $NAME --"
|
||||||
|
|
||||||
start_service() {
|
start_service() {
|
||||||
|
|
||||||
|
@ -61,3 +61,7 @@ start_service() {
|
||||||
procd_close_instance
|
procd_close_instance
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
reload_service() {
|
||||||
|
procd_send_signal $NAME
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue