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