summaryrefslogtreecommitdiff
path: root/build/supervisord.conf
diff options
context:
space:
mode:
Diffstat (limited to 'build/supervisord.conf')
-rw-r--r--build/supervisord.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/build/supervisord.conf b/build/supervisord.conf
new file mode 100644
index 00000000..534eda29
--- /dev/null
+++ b/build/supervisord.conf
@@ -0,0 +1,16 @@
+[supervisord]
+nodaemon=true
+
+[program:web-server]
+command=/usr/bin/python2.7 /opendc/opendc-web-server/main.py /opendc/build/keys.json
+stdout_logfile=/dev/stdout
+stdout_logfile_maxbytes=0
+stderr_logfile=/dev/stderr
+stderr_logfile_maxbytes=0
+
+[program:simulator]
+command=/bin/sh -c '/opendc/opendc-simulator/Simulator/simulator /data/database/opendc.db'
+stdout_logfile=/dev/stdout
+stdout_logfile_maxbytes=0
+stderr_logfile=/dev/stderr
+stderr_logfile_maxbytes=0 \ No newline at end of file