~ubuntu-branches/ubuntu/precise/corosync/precise-proposed

« back to all changes in this revision

Viewing changes to debian/corosync.init

  • Committer: Bazaar Package Importer
  • Author(s): Andres Rodriguez
  • Date: 2010-07-02 01:24:53 UTC
  • mfrom: (1.1.4 upstream) (5.1.9 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100702012453-qky79tg6hjly2dmq
Tags: 1.2.1-1ubuntu1
* Merge from debian unstable (LP: #600900). Remaining changes:
  - Raised consensus time out to 5000ms
  - debian/control, debian/rules: Removing now-unnecessary quilt build-dep

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
        #   1 if daemon was already stopped
65
65
        #   2 if daemon could not be stopped
66
66
        #   other if a failure occurred
67
 
        start-stop-daemon --stop --quiet --retry=QUIT/5/QUIT/15 --pidfile $PIDFILE
68
 
        RETVAL="$?"
 
67
        start-stop-daemon --stop --quiet --signal=QUIT --retry=5 --pidfile $PIDFILE
 
68
        RETVAL="$?"
69
69
        [ "$RETVAL" = 2 ] && return 2
70
70
        # Many daemons don't delete their pidfiles when they exit.
71
71
        rm -f $PIDFILE