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