diff options
Diffstat (limited to 'sysvinit/debian/cloud-final')
-rw-r--r--[-rwxr-xr-x] | sysvinit/debian/cloud-final | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sysvinit/debian/cloud-final b/sysvinit/debian/cloud-final index 46e9b454..55afc8b0 100755..100644 --- a/sysvinit/debian/cloud-final +++ b/sysvinit/debian/cloud-final @@ -13,6 +13,7 @@ # Authors: Julien Danjou <acid@debian.org> # Juerg Haefliger <juerg.haefliger@hp.com> +# Thomas Goirand <zigo@debian.org> PATH=/sbin:/usr/sbin:/bin:/usr/bin DESC="Cloud service" @@ -32,6 +33,17 @@ SCRIPTNAME=/etc/init.d/$NAME # and status_of_proc is working. . /lib/lsb/init-functions +if init_is_upstart; then + case "$1" in + stop) + exit 0 + ;; + *) + exit 1 + ;; + esac +fi + case "$1" in start) log_daemon_msg "Starting $DESC" "$NAME" |