From 6f58655f2893a2a8e2edc85130d98294d5cf4ad1 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Wed, 6 Jan 2010 14:05:25 -0500 Subject: put upstart files in upstart/, minor other changes adding cat-cloud-config.conf, a debug file that just cats the config --- upstart/cat-cloud-config.conf | 7 +++++++ upstart/ec2init.conf | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 upstart/cat-cloud-config.conf create mode 100644 upstart/ec2init.conf (limited to 'upstart') diff --git a/upstart/cat-cloud-config.conf b/upstart/cat-cloud-config.conf new file mode 100644 index 00000000..3f053896 --- /dev/null +++ b/upstart/cat-cloud-config.conf @@ -0,0 +1,7 @@ +description "Cat the Config" + +start on cloud-config +console output +task + +exec cloud-init-run-module once_per_ami catconfig execute cat $CLOUD_CFG diff --git a/upstart/ec2init.conf b/upstart/ec2init.conf new file mode 100644 index 00000000..2168726e --- /dev/null +++ b/upstart/ec2init.conf @@ -0,0 +1,7 @@ +start on (local-filesystems and net-device-up IFACE=eth0) + +task + +console output + +exec /usr/bin/ec2-init start -- cgit v1.2.3