summaryrefslogtreecommitdiffstats
path: root/docker/storperf-graphite/etc/supervisord.conf
diff options
context:
space:
mode:
authorMark Beierl <mark.beierl@dell.com>2017-08-23 16:54:40 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-08-23 16:54:40 +0000
commitb6abf16908da2c30878f0a0de0e3ef198b8f712f (patch)
treeb9ea14463956b39b3a2e5110e0b5a88ac435ade4 /docker/storperf-graphite/etc/supervisord.conf
parent6ca2c9387c41a5980af0f0d5aa1d24cd6c7fa94d (diff)
parentfc7ec1c0c73d2ecc52035634c8dd0ae6647273b1 (diff)
Merge "Graphite Standalone container"
Diffstat (limited to 'docker/storperf-graphite/etc/supervisord.conf')
-rw-r--r--docker/storperf-graphite/etc/supervisord.conf26
1 files changed, 26 insertions, 0 deletions
diff --git a/docker/storperf-graphite/etc/supervisord.conf b/docker/storperf-graphite/etc/supervisord.conf
new file mode 100644
index 0000000..01799ab
--- /dev/null
+++ b/docker/storperf-graphite/etc/supervisord.conf
@@ -0,0 +1,26 @@
+[unix_http_server]
+file=/run/supervisord.sock
+
+[supervisord]
+user = root
+nodaemon = true
+logfile_maxbytes = 10MB
+logfile_backups = 0
+pidfile = /tmp/supervisord.pid
+logfile = /tmp/supervisord.log
+environment = GRAPHITE_STORAGE_DIR='/opt/graphite/storage',GRAPHITE_CONF_DIR='/opt/graphite/conf'
+
+[rpcinterface:supervisor]
+supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
+
+[supervisorctl]
+serverurl=unix:///run/supervisord.sock
+
+[eventlistener:stdout]
+command = supervisor_stdout
+buffer_size = 100
+events = PROCESS_LOG
+result_handler = supervisor_stdout:event_handler
+
+[include]
+files = /etc/supervisor.d/*.ini