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)
This commit is contained in:
Tim Abbott 2013-11-12 10:31:06 -05:00
parent 1354d522cc
commit 2e41515cc3
1 changed files with 2 additions and 0 deletions

View File

@ -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