summaryrefslogtreecommitdiff
path: root/network/hiawatha/rc.hiawatha
diff options
context:
space:
mode:
Diffstat (limited to 'network/hiawatha/rc.hiawatha')
-rw-r--r--network/hiawatha/rc.hiawatha6
1 files changed, 3 insertions, 3 deletions
diff --git a/network/hiawatha/rc.hiawatha b/network/hiawatha/rc.hiawatha
index 1911cc3d5b..19360e084e 100644
--- a/network/hiawatha/rc.hiawatha
+++ b/network/hiawatha/rc.hiawatha
@@ -27,8 +27,8 @@ hiawatha_stop() {
if [ -z "$PIDOF" ]; then
echo "Error, hiawatha is not running."
else
- echo "Stoping hiawatha: kill $PIDOF"
- kill $PIDOF
+ echo "Stoping hiawatha: /bin/kill -s TERM $PIDOF"
+ /bin/kill -s TERM $PIDOF
fi
}
@@ -50,7 +50,7 @@ case $1 in
;;
restart)
hiawatha_stop
- sleep 1
+ sleep 3
hiawatha_start
;;
status)