Export OS_SVC_ENABLE_CONTROl in upstart jobs

Without this export os-svc-enable.conf never sees the starting event and
thus never does anything to prevent starting the job.

Change-Id: Ib94c817ce3f2e6c3aada1515beea6e7fb41605af
This commit is contained in:
Clint Byrum 2013-12-16 07:45:32 -08:00
parent a6f86e6ef9
commit c04d472064
1 changed files with 1 additions and 0 deletions

View File

@ -89,6 +89,7 @@ stop on runlevel [016]
$env_entries
env OS_SVC_ENABLE_CONTROL=1
export OS_SVC_ENABLE_CONTROL
pre-start script
mkdir -p /var/run/$user