Move supervisor and rsyslog sock files to their own dirs under /var/run

This commit is contained in:
Christian Adams
2020-03-12 13:43:43 -04:00
parent 7040fcfd88
commit 996d7ce054
6 changed files with 27 additions and 20 deletions

View File

@@ -47,7 +47,7 @@ stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[program:awx-rsyslogd]
command = rsyslogd -n -i /var/run/tower/sockets/rsyslog.pid -f /var/lib/awx/rsyslog/rsyslog.conf
command = rsyslogd -n -i /var/run/rsyslog/rsyslog.pid -f /var/lib/awx/rsyslog/rsyslog.conf
autostart = true
autorestart = true
stopwaitsecs = 1
@@ -74,10 +74,10 @@ events=TICK_60
priority=0
[unix_http_server]
file=/var/run/tower/sockets/supervisor.web.sock
file=/var/run/supervisor/supervisor.web.sock
[supervisorctl]
serverurl=unix:///var/run/tower/sockets/supervisor.web.sock ; use a unix:// URL for a unix socket
serverurl=unix:///var/run/supervisor/supervisor.web.sock ; use a unix:// URL for a unix socket
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface