mirror of https://github.com/apache/cloudstack.git
Never get the upstart script stable enough
fall back to systemV init script Revert "Try upstart init script in the next round" This reverts commit da56f8e92e74b2e06df66da03e1b77b3a13cb97d.
This commit is contained in:
parent
3cddd72c9b
commit
47d52ad937
|
|
@ -1,10 +0,0 @@
|
|||
description "CloudStack Computing Node Daemon"
|
||||
author "Edison Su<edison@cloud.com>"
|
||||
|
||||
start on (net-device-up IFACE=cloudbr0)
|
||||
stop on runlevel [!2345]
|
||||
|
||||
|
||||
expect fork
|
||||
exec /usr/bin/cloud-daemonize -n "cloud-agent" -p "/var/run/cloud-agent.pid" -l "/var/log/cloud/agent/agent.log" /usr/bin/agent-runner
|
||||
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
/etc/cloud/agent/developer.properties.template
|
||||
/etc/cloud/agent/environment.properties
|
||||
/etc/cloud/agent/log4j-cloud.xml
|
||||
/etc/init/cloud-agent.conf
|
||||
/etc/init.d/cloud-agent
|
||||
/usr/bin/agent-runner
|
||||
/usr/bin/cloud-setup-agent
|
||||
/usr/lib/cloud/agent/css
|
||||
|
|
|
|||
|
|
@ -8,7 +8,11 @@ case "$1" in
|
|||
chmod 0770 $i
|
||||
done
|
||||
|
||||
if [ "$2" = "" ] ; then # no recently configured version, this is a first install
|
||||
/usr/sbin/update-rc.d cloud-agent defaults || true
|
||||
fi
|
||||
|
||||
;;
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
||||
#DEBHELPER#
|
||||
Loading…
Reference in New Issue