summaryrefslogtreecommitdiff
path: root/upstart/cloud-run-user-script.conf
blob: 49edbea456da84c95c7afeb646a7da6af8ed4d13 (plain)
1
2
3
4
5
6
7
8
9
10
11
# this runs user scripts found in user-data, that are
# stored in /var/lib/cloud/scripts by the initial ec2init upstart job

description "execute cloud user scripts"

start on stopped rc RUNLEVEL=[2345]
console output
task

exec cloud-init-run-module once_per_ami user-scripts execute \
    run-parts "/var/lib/cloud/scripts"