summaryrefslogtreecommitdiff
path: root/package/chillispot/files/chillispot.init
diff options
context:
space:
mode:
Diffstat (limited to 'package/chillispot/files/chillispot.init')
-rw-r--r--package/chillispot/files/chillispot.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/chillispot/files/chillispot.init b/package/chillispot/files/chillispot.init
index 8a09a3d35..569837d68 100644
--- a/package/chillispot/files/chillispot.init
+++ b/package/chillispot/files/chillispot.init
@@ -10,10 +10,10 @@ autostart)
exec sh $0 start
;;
start)
- chilli
+ /usr/sbin/chilli
;;
stop)
- pkill chilli
+ kill $(pgrep -f /usr/sbin/chilli)
;;
restart)
sh $0 stop