From 486f9e13df07b5b111daa966c34f77a122fcc457 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Sun, 4 Jul 2021 22:32:01 +0200 Subject: [PATCH] allow supervisord to be controlled by neko user. --- runtime/supervisord.conf | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/runtime/supervisord.conf b/runtime/supervisord.conf index 357280a6..fbfac9c9 100644 --- a/runtime/supervisord.conf +++ b/runtime/supervisord.conf @@ -54,3 +54,14 @@ stdout_logfile=/var/log/neko/neko.log stdout_logfile_maxbytes=100MB stdout_logfile_backups=10 redirect_stderr=true + +[unix_http_server] +file=/var/run/supervisor.sock +chmod=0770 +chown=root:neko + +[supervisorctl] +serverurl=unix:///var/run/supervisor.sock + +[rpcinterface:supervisor] +supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface