aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/disk-image-builder/csit-sut/supervisord.conf
diff options
context:
space:
mode:
Diffstat (limited to 'resources/tools/disk-image-builder/csit-sut/supervisord.conf')
-rw-r--r--resources/tools/disk-image-builder/csit-sut/supervisord.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/resources/tools/disk-image-builder/csit-sut/supervisord.conf b/resources/tools/disk-image-builder/csit-sut/supervisord.conf
new file mode 100644
index 0000000000..4a6fe96568
--- /dev/null
+++ b/resources/tools/disk-image-builder/csit-sut/supervisord.conf
@@ -0,0 +1,24 @@
+[unix_http_server]
+file = /tmp/supervisor.sock
+chmod = 0777
+
+[rpcinterface:supervisor]
+supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
+
+[supervisorctl]
+serverurl = unix:///tmp/supervisor.sock
+
+[supervisord]
+pidfile = /tmp/supervisord.pid
+identifier = supervisor
+directory = /tmp
+logfile = /tmp/supervisord.log
+loglevel = debug
+nodaemon = false
+
+[program:vpp]
+command = /usr/bin/vpp -c /etc/vpp/startup.conf
+autostart = false
+autorestart = true
+redirect_stderr = true
+priority = 1