Update Upstart scripts with dependencies/expect fork/manual

pull/89/head
Vlastimil Holer 8 years ago
parent 2afb78747d
commit 7440839c2b
No known key found for this signature in database
GPG Key ID: EB549BADEFD07C53

@ -1,7 +1,7 @@
description "OpenNebula pre-networking contextualization"
author "OpenNebula Systems <support@opennebula.systems>"
author "OpenNebula Systems <support@opennebula.systems>"
start on mounted MOUNTPOINT=/
start on mounted MOUNTPOINT=/ and mounted MOUNTPOINT=/run
task

@ -1,6 +1,8 @@
description "OpenNebula delayed reconfiguration"
author "OpenNebula Systems <support@opennebula.systems>"
author "OpenNebula Systems <support@opennebula.systems>"
manual
task
expect fork
exec /usr/sbin/one-context-reconfigure

@ -1,9 +1,9 @@
description "OpenNebula reconfiguration"
author "OpenNebula Systems <support@opennebula.systems>"
author "OpenNebula Systems <support@opennebula.systems>"
manual
task
script
export TIMEOUT=0
exec /usr/sbin/one-context-reconfigure
end script
env TIMEOUT=0
exec /usr/sbin/one-context-reconfigure

@ -1,7 +1,7 @@
description "OpenNebula contextualization"
author "OpenNebula Systems <support@opennebula.systems>"
author "OpenNebula Systems <support@opennebula.systems>"
start on (filesystem and started rsyslog)
start on (runlevel [2345] and stopped one-context-local)
task

Loading…
Cancel
Save