[packages/asterisk] asterisk.service: fix binary path for stop and reload

jajcus jajcus at pld-linux.org
Mon Jun 20 09:19:11 CEST 2016


commit fa522dd855171380b6c80e29772eb8f3e63c5bbc
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date:   Mon Jun 20 09:18:08 2016 +0200

    asterisk.service: fix binary path for stop and reload

 asterisk.service | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/asterisk.service b/asterisk.service
index 8446c21..00cd214 100644
--- a/asterisk.service
+++ b/asterisk.service
@@ -9,8 +9,8 @@ Type=forking
 Environment=AST_CONFIG=/etc/asterisk/asterisk.conf AST_USER=asterisk ASTERISK_OPTS=
 EnvironmentFile=-/etc/sysconfig/asterisk
 ExecStart=/usr/sbin/asterisk -U ${AST_USER} -C ${AST_CONFIG} $ASTERISK_OPTS
-ExecStop=/usr/bin/asterisk -rx 'core stop now'
-ExecReload=/usr/bin/asterisk -rx 'core reload'
+ExecStop=/usr/sbin/asterisk -rx 'core stop now'
+ExecReload=/usr/sbin/asterisk -rx 'core reload'
 Restart=always
 
 [Install]
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/asterisk.git/commitdiff/1d77d860a8068b68b25086144ccc1876bd07de3d



More information about the pld-cvs-commit mailing list