]> git.pld-linux.org Git - packages/squid.git/commitdiff
small fixes
authorwaszi <waszi@pld-linux.org>
Mon, 29 Nov 1999 11:25:46 +0000 (11:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    squid.init -> 1.8

squid.init

index 3ddbef7b9aebb5b1a5e47562913007f5ae1751b5..c2bd4264fdc460d5cbe1ab436560e664decc439d 100644 (file)
@@ -49,7 +49,14 @@ case "$1" in
                deltext;ok
 
                show Starting squid
-               daemon squid $SQUID_OPTS
+               
+               squid -N $SQUID_OPTS &
+               busy
+               if ps ax | grep -v grep | grep -q squid ; then
+                   deltext;ok
+               else
+                   deltext;fail
+               fi
        else
            echo "squid already is running"
        fi
This page took 0.091647 seconds and 4 git commands to generate.