Add anacron to boot process
authorSam <sam.saffron@gmail.com>
Mon, 25 Aug 2014 08:20:45 +0000 (18:20 +1000)
committerSam <sam.saffron@gmail.com>
Mon, 25 Aug 2014 08:20:45 +0000 (18:20 +1000)
image/base/Dockerfile
image/base/runit-1.d-anacron [new file with mode: 0755]

index fda7fc448a24f5434cb333465b43107d5f4fafe8..855c231f5b6fd3529ec961d70ebb0d0af163f18b 100644 (file)
@@ -68,6 +68,7 @@ RUN cd / && git clone https://github.com/SamSaffron/pups.git
 
 ADD runit-1 /etc/runit/1
 ADD runit-1.d-cleanup-pids /etc/runit/1.d/cleanup-pids
+ADD runit-1.d-anacron /etc/runit/1.d/anacron
 ADD runit-2 /etc/runit/2
 
 ADD cron /etc/service/cron/run
diff --git a/image/base/runit-1.d-anacron b/image/base/runit-1.d-anacron
new file mode 100755 (executable)
index 0000000..5080bfc
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/bash
+/usr/sbin/anacron -s