From 0a96e4538fe6552dd75aa939b249030f4cdfd77f Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 30 Dec 2010 22:57:30 +0100 Subject: fix startup scripts, fix stop routine --- package/tinyproxy/files/tinyproxy.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/tinyproxy') 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) -- cgit v1.2.3