From c89d78d22809ddfb0133adb82ee38ccccf625170 Mon Sep 17 00:00:00 2001 From: Ric Harvey Date: Sun, 10 Jul 2016 19:38:32 +0100 Subject: [PATCH] move socket to /dev/shm to fix supervisorctl on some systems --- conf/supervisord.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/supervisord.conf b/conf/supervisord.conf index 565ea38..9d594ea 100644 --- a/conf/supervisord.conf +++ b/conf/supervisord.conf @@ -1,5 +1,5 @@ [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] 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 [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] command = /usr/bin/php-fpm -c /etc/php