summaryrefslogtreecommitdiff
path: root/build/supervisord.conf
diff options
context:
space:
mode:
authorSacheendra Talluri <sacheendra.t@gmail.com>2017-01-26 18:42:38 +0100
committerSacheendra Talluri <sacheendra.t@gmail.com>2017-01-26 18:42:38 +0100
commit01410021a7fe733edab64d7cb4b359685d89cd91 (patch)
treef54256b95068df3f62b913d5b04cab61d56c549c /build/supervisord.conf
parent8b123384237a40801a621a1df6c094562eee52c1 (diff)
Add Dockerfile and related build files
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