diff options
Diffstat (limited to 'upstart')
-rw-r--r-- | upstart/cloud-run-user-script.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/upstart/cloud-run-user-script.conf b/upstart/cloud-run-user-script.conf index e4a60bcb..cf76fe32 100644 --- a/upstart/cloud-run-user-script.conf +++ b/upstart/cloud-run-user-script.conf @@ -3,7 +3,7 @@ description "execute cloud user scripts" -start on stopped rc RUNLEVEL=[2345] +start on (stopped rc RUNLEVEL=[2345] and cloud-config) console output task @@ -11,5 +11,5 @@ script sdir=/var/lib/cloud/data/scripts [ -d "$sdir" ] || exit 0 exec cloud-init-run-module once-per-instance user-scripts execute \ - --regex '.*' run-parts "$sdir" + run-parts --regex '.*' "$sdir" end script |