summaryrefslogtreecommitdiffstats
path: root/main/asterisk/asterisk.initd
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2011-12-21 14:41:12 +0200
committerTimo Teräs <timo.teras@iki.fi>2011-12-21 14:43:26 +0200
commitc28bf247441df565d6e0e795a268ed3f331c6fdc (patch)
tree99f21054f754431046a6fdef720a40b53695202c /main/asterisk/asterisk.initd
parent8555225936eb185c878b8547da73db14cf38c711 (diff)
downloadaports-c28bf247441df565d6e0e795a268ed3f331c6fdc.tar.bz2
aports-c28bf247441df565d6e0e795a268ed3f331c6fdc.tar.xz
main/asterisk: fix init.d script reload action
Diffstat (limited to 'main/asterisk/asterisk.initd')
-rw-r--r--main/asterisk/asterisk.initd4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/asterisk/asterisk.initd b/main/asterisk/asterisk.initd
index 284898ae2..b9806a750 100644
--- a/main/asterisk/asterisk.initd
+++ b/main/asterisk/asterisk.initd
@@ -242,8 +242,8 @@ stop() {
reload() {
if is_running; then
- ebegin "Forcing asterisk to reload configuration"
- /usr/sbin/asterisk -r -x "modules reload" &>/dev/null
+ ebegin "Reloading asterisk configuration"
+ /usr/sbin/asterisk -r -x "core reload" &>/dev/null
eend $?
else
eerror "Asterisk is not running!"