summaryrefslogtreecommitdiffstats
path: root/adei/supervisor
diff options
context:
space:
mode:
Diffstat (limited to 'adei/supervisor')
-rw-r--r--adei/supervisor/supervisord.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/adei/supervisor/supervisord.conf b/adei/supervisor/supervisord.conf
new file mode 100644
index 0000000..53a6dcd
--- /dev/null
+++ b/adei/supervisor/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