From c04d4720642b45923583cf7ad5cada31b36317e0 Mon Sep 17 00:00:00 2001 From: Clint Byrum Date: Mon, 16 Dec 2013 07:45:32 -0800 Subject: [PATCH] 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 --- elements/os-svc-install/bin/os-svc-daemon | 1 + 1 file changed, 1 insertion(+) diff --git a/elements/os-svc-install/bin/os-svc-daemon b/elements/os-svc-install/bin/os-svc-daemon index b43185b6b..e610f16c7 100755 --- a/elements/os-svc-install/bin/os-svc-daemon +++ b/elements/os-svc-install/bin/os-svc-daemon @@ -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