------------------------------------------------------------ revno: 20 committer: Dimitri John Ledkov <[email protected]> branch nick: upstart-jobs timestamp: Wed 2014-01-22 12:08:26 +0000 message: auto update added: etc/init/cgmanager.conf etc/init/urfkill.conf
-- lp:~upstart-devel/upstart/upstart-jobs https://code.launchpad.net/~upstart-devel/upstart/upstart-jobs Your team Upstart Reviewers is subscribed to branch lp:~upstart-devel/upstart/upstart-jobs. To unsubscribe from this branch go to https://code.launchpad.net/~upstart-devel/upstart/upstart-jobs/+edit-subscription
=== added file 'etc/init/cgmanager.conf' --- etc/init/cgmanager.conf 1970-01-01 00:00:00 +0000 +++ etc/init/cgmanager.conf 2014-01-22 12:08:26 +0000 @@ -0,0 +1,28 @@ +description "cgroup management daemon" +author "Serge Hallyn <[email protected]>" + +respawn + +# in trusty /sys/fs/cgroup will be mounted for us. +# prior to saucy, we would need to start on mounted +# MOUNTPOINT=/sys, and mount /sys/fs/cgroup ourselves +start on mounted MOUNTPOINT=/sys/fs/cgroup + +# to get debug output into /var/log/upstart/cgmanager.log, create/edit +# /etc/default/cgmanager and set cgmanager_opts="--debug" +env cgmanager_opts="" + +script + [ -r /etc/default/cgmanager ] && . /etc/default/cgmanager + test -x /sbin/cgmanager || { stop; exit 0; } + # check whether we should start a cgproxy or a cgmanager + if /sbin/cgproxy --check-master; then + exec /sbin/cgproxy $cgmanager_opts + else + exec /sbin/cgmanager $cgmanager_opts + fi +end script + +post-stop script + rm /sys/fs/cgroup/cgmanager/sock || true +end script === added file 'etc/init/urfkill.conf' --- etc/init/urfkill.conf 1970-01-01 00:00:00 +0000 +++ etc/init/urfkill.conf 2014-01-22 12:08:26 +0000 @@ -0,0 +1,14 @@ +# urfkill - killswitch manager +# +# This daemon manages the states of various radios on the system, such as +# for WiFi, Bluetooth, Cellular, FM, etc. and can properly handle input events +# to toggle these radios on devices that have such input keys. + +description "killswitch manager" + +start on started udev +stop on shutdown + +respawn + +exec /usr/lib/i386-linux-gnu/urfkill/urfkilld
-- upstart-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/upstart-devel
