summaryrefslogtreecommitdiffstats
path: root/charms/trusty/contrail-analytics/files/contrail-analytics-api.ini
diff options
context:
space:
mode:
Diffstat (limited to 'charms/trusty/contrail-analytics/files/contrail-analytics-api.ini')
-rw-r--r--charms/trusty/contrail-analytics/files/contrail-analytics-api.ini13
1 files changed, 13 insertions, 0 deletions
diff --git a/charms/trusty/contrail-analytics/files/contrail-analytics-api.ini b/charms/trusty/contrail-analytics/files/contrail-analytics-api.ini
new file mode 100644
index 0000000..3f76d94
--- /dev/null
+++ b/charms/trusty/contrail-analytics/files/contrail-analytics-api.ini
@@ -0,0 +1,13 @@
+[program:contrail-analytics-api]
+command=/usr/bin/contrail-analytics-api --conf_file /etc/contrail/contrail-keystone-auth.conf --conf_file /etc/contrail/contrail-analytics-api.conf
+priority=440
+autostart=true
+killasgroup=true
+stopsignal=KILL
+stdout_capture_maxbytes=1MB
+redirect_stderr=true
+stdout_logfile=/var/log/contrail/contrail-analytics-api-stdout.log
+stderr_logfile=/var/log/contrail/contrail-analytics-api-stderr.log
+startsecs=5
+exitcodes=0 ; 'expected' exit codes for process (default 0,2)
+user=contrail