summaryrefslogtreecommitdiff
path: root/upstart/ec2-update-software.conf
diff options
context:
space:
mode:
Diffstat (limited to 'upstart/ec2-update-software.conf')
-rw-r--r--upstart/ec2-update-software.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/upstart/ec2-update-software.conf b/upstart/ec2-update-software.conf
new file mode 100644
index 00000000..ee3131d1
--- /dev/null
+++ b/upstart/ec2-update-software.conf
@@ -0,0 +1,12 @@
+# ec2-software-update - Update software at boot
+#
+# Update software at boot
+
+description "Update software at boot"
+
+start on (cloud-config
+ and local-filesystem
+ and net-device-iup IFACE=eth0)
+console output
+
+exec /usr/sbin/ec2-update-software