~ubuntu-branches/ubuntu/intrepid/dansguardian/intrepid-security

« back to all changes in this revision

Viewing changes to autoconf/sysv.in2

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Wirt
  • Date: 2005-04-08 21:02:42 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050408210242-ie5s6v0nbmlinpxn
Tags: 2.8.0.4-2
Added --oknodo to start-stop-daemon to get restarting 
working if it isn't started before (Closes: #303762)
Thanks to Kevin Traas for the patch 

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
    fi
10
10
    
11
11
    # give 60 secs then KILL
12
 
    local COUNTDOWN=120
 
12
    local COUNTDOWN=60
13
13
 
14
14
    while [ -d /proc/${PID} ] && [ $COUNTDOWN -gt 0 ] ; do
15
 
        usleep 500000
 
15
        sleep 1
16
16
        COUNTDOWN=$[$COUNTDOWN-1]
17
17
    done
18
18