summaryrefslogtreecommitdiff
path: root/build/supervisord.conf
diff options
context:
space:
mode:
authorLeon Overweel <l.overweel@gmail.com>2017-02-06 12:06:49 +0100
committerGitHub <noreply@github.com>2017-02-06 12:06:49 +0100
commitebbbb9ac91aab60587d7750992e40fcc41f98ad5 (patch)
treedd4410cc8257bca5a06d1e6773b1a67e1b31d306 /build/supervisord.conf
parent6935caadfb67a3e9c6e6147d4a645bdc132f4ee4 (diff)
parentb1d9aa806341c362e770afa70b52094cd016492a (diff)
Merge pull request #1 from sacheendra/master
Add Docker build
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