Skip to content
Snippets Groups Projects
Commit c28bf247 authored by Timo Teräs's avatar Timo Teräs
Browse files

main/asterisk: fix init.d script reload action

parent 85552259
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
# Maintainer: Timo Teras <timo.teras@iki.fi>
pkgname=asterisk
pkgver=10.0.0
pkgrel=0
pkgrel=1
pkgdesc="Asterisk: A Module Open Source PBX System"
url="http://www.asterisk.org/"
arch="all"
......@@ -171,6 +171,6 @@ da5a3c500192dee4275aae5235d25f97 ASTERISK-18976.patch
1ddadef41aa7120e168738b6f3ed8917 ASTERISK-18977.patch
0af5e797f0a99d0f81f95e3710baf5b6 ASTERISK-18994.patch
bc6713f5434e07b79d3afdd155461d72 ASTERISK-18995.patch
0ce3219e05f55af884a7dc6b99c2b276 asterisk.initd
86c7589e906102869d67f7f8bc82ca4b asterisk.initd
ed31d7ba37bcf8b0346dcf8593c395f0 asterisk.confd
3e65172275684373e1a25c8a11224411 asterisk.logrotate"
......@@ -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!"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment