move socket to /dev/shm to fix supervisorctl on some systems

This commit is contained in:
Ric Harvey
2016-07-10 19:38:32 +01:00
parent bb4a670af3
commit c89d78d228

View File

@@ -1,5 +1,5 @@
[unix_http_server] [unix_http_server]
file=/tmp/supervisor.sock ; (the path to the socket file) file=/dev/shm/supervisor.sock ; (the path to the socket file)
[supervisord] [supervisord]
logfile=/tmp/supervisord.log ; (main log file;default $CWD/supervisord.log) logfile=/tmp/supervisord.log ; (main log file;default $CWD/supervisord.log)
@@ -19,7 +19,7 @@ user=root ;
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl] [supervisorctl]
serverurl=unix:///tmp/supervisor.sock ; use a unix:// URL for a unix socket serverurl=unix:///dev/shm/supervisor.sock ; use a unix:// URL for a unix socket
[program:php-fpm] [program:php-fpm]
command = /usr/bin/php-fpm -c /etc/php command = /usr/bin/php-fpm -c /etc/php