summaryrefslogtreecommitdiffstats
path: root/adei/files/etc/supervisord.conf
diff options
context:
space:
mode:
Diffstat (limited to 'adei/files/etc/supervisord.conf')
-rw-r--r--adei/files/etc/supervisord.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/adei/files/etc/supervisord.conf b/adei/files/etc/supervisord.conf
new file mode 100644
index 0000000..53a6dcd
--- /dev/null
+++ b/adei/files/etc/supervisord.conf
@@ -0,0 +1,14 @@
+[supervisord]
+nodaemon=true
+
+[program:apache2]
+command=/opt/scripts/run-apache.sh
+autorestart=true
+startsecs=5
+exitcodes=0
+
+[program:cron]
+command=/opt/scripts/run-cron.sh
+autorestart=true
+startsecs=5
+exitcodes=0