~ubuntu-branches/ubuntu/precise/libcgroup/precise

« back to all changes in this revision

Viewing changes to debian/cgroup-bin.cgred.upstart

  • Committer: Package Import Robot
  • Author(s): Serge Hallyn
  • Date: 2012-01-04 11:11:19 UTC
  • Revision ID: package-import@ubuntu.com-20120104111119-2n08aocqd5vddhtq
Tags: 0.37.1-1ubuntu9
Don't run upstart jobs if package has been removed but not purged.
(LP: #875525)

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
start on started cgconfig
7
7
stop on stopped cgconfig
8
8
 
 
9
pre-start script
 
10
        test -x /usr/sbin/cgrulesengd || { stop; exit 0; }
 
11
end script
 
12
 
9
13
script
10
14
        # get default options
11
15
        OPTIONS=""