summaryrefslogtreecommitdiff
path: root/upstart/ec2-apt-update.conf
diff options
context:
space:
mode:
Diffstat (limited to 'upstart/ec2-apt-update.conf')
-rw-r--r--upstart/ec2-apt-update.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/upstart/ec2-apt-update.conf b/upstart/ec2-apt-update.conf
new file mode 100644
index 00000000..b280801b
--- /dev/null
+++ b/upstart/ec2-apt-update.conf
@@ -0,0 +1,13 @@
+# ec2-apt-update - Update archive at boot time
+#
+# Update archive at boot
+
+description "Update archive at boot"
+
+start on (cloud-config
+ and local-filesystems
+ and net-device-up IFACE=eth0)
+console output
+task
+# exec /usr/sbin/cloud-init-run --once ec2-apt-update ec2-apt-update
+exec /usr/sbin/ec2-apt-update