summaryrefslogtreecommitdiff
path: root/package/pmacct/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/pmacct/files')
-rw-r--r--package/pmacct/files/nfacctd.init2
-rw-r--r--package/pmacct/files/pmacctd.init2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/pmacct/files/nfacctd.init b/package/pmacct/files/nfacctd.init
index 3e768474d..911184d21 100644
--- a/package/pmacct/files/nfacctd.init
+++ b/package/pmacct/files/nfacctd.init
@@ -14,7 +14,7 @@ autostop) ;;
nfacctd $nfaccd_flags
;;
stop)
- killall nfacctd
+ pkill nfacctd
;;
restart)
sh $0 stop
diff --git a/package/pmacct/files/pmacctd.init b/package/pmacct/files/pmacctd.init
index 2e9a01dd1..5a44474c0 100644
--- a/package/pmacct/files/pmacctd.init
+++ b/package/pmacct/files/pmacctd.init
@@ -14,7 +14,7 @@ autostop) ;;
pmacctd $pmacctd_flags
;;
stop)
- killall pmacctd
+ pkill pmacctd
;;
restart)
sh $0 stop