~nurmi/eucalyptus/webuiversion

« back to all changes in this revision

Viewing changes to debian/eucalyptus-common.eucalyptus.upstart

  • Committer: Dustin Kirkland
  • Date: 2009-10-14 02:53:42 UTC
  • Revision ID: kirkland@canonical.com-20091014025342-e1rcaphgxq4mxb05
  eucalyptus-sc.upstart, eucalyptus-walrus.upstart, rules, control:
  - use Conflicts/Replaces to ensure upgrades work properly
* eucalyptus-common.eucalyptus.upstart: fix unclean package purging,
  which hangs on stopping eucalyptus service

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
                echo "Eucalyptus is not configured yet"
17
17
                exit 1
18
18
        fi
19
 
end script
20
19
 
21
 
script
22
20
        . /etc/eucalyptus/eucalyptus.conf
23
21
 
24
22
        opts="-h $EUCALYPTUS -u $EUCA_USER --pidfile /var/run/eucalyptus/eucalyptus.pid -L console-log"
56
54
 
57
55
        [ -n "$services" ] || exit 0
58
56
 
59
 
        exec eucalyptus-cloud $opts
60
57
end script
61
58
 
 
59
exec eucalyptus-cloud $opts
 
60
 
62
61
post-stop script
63
62
        rm -f /var/run/eucalyptus/eucalyptus.options
64
63
end script