summaryrefslogtreecommitdiff
path: root/package/opensips/files/opensips.init
diff options
context:
space:
mode:
Diffstat (limited to 'package/opensips/files/opensips.init')
-rw-r--r--package/opensips/files/opensips.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/opensips/files/opensips.init b/package/opensips/files/opensips.init
index 3f60f8be6..b7d73f7d4 100644
--- a/package/opensips/files/opensips.init
+++ b/package/opensips/files/opensips.init
@@ -14,7 +14,7 @@ start)
/usr/sbin/opensips
;;
stop)
- pkill opensips
+ kill $(pgrep -f /usr/sbin/opensips)
;;
restart)
sh $0 stop