From 2e41515cc33951fc78a079114b918584e10edff3 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 12 Nov 2013 10:31:06 -0500 Subject: [PATCH] localserver: Make the zulip user own supervisor.sock. We really should fix this in supervisor itself, since in particular we lose this setting every time the system is rebooted. (imported from commit a700078b158808340f5f30812235449c74508cde) --- scripts/setup/install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/setup/install b/scripts/setup/install index 67c33dcc0d..37b9da38f7 100755 --- a/scripts/setup/install +++ b/scripts/setup/install @@ -38,6 +38,8 @@ ln -nsf /etc/zulip/settings.py /root/zulip/zproject/local_settings.py /root/zulip/scripts/setup/configure-rabbitmq +chown zulip:zulip /var/run/supervisor.sock + deploy_path=$($(dirname $(dirname $0))/unpack-zulip "$tarball") ln -nsf "$deploy_path" /home/zulip/deployments/current chown -R zulip:zulip /home/zulip/deployments