mirror of https://github.com/zulip/zulip.git
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:
parent
1354d522cc
commit
2e41515cc3
|
@ -38,6 +38,8 @@ ln -nsf /etc/zulip/settings.py /root/zulip/zproject/local_settings.py
|
||||||
|
|
||||||
/root/zulip/scripts/setup/configure-rabbitmq
|
/root/zulip/scripts/setup/configure-rabbitmq
|
||||||
|
|
||||||
|
chown zulip:zulip /var/run/supervisor.sock
|
||||||
|
|
||||||
deploy_path=$($(dirname $(dirname $0))/unpack-zulip "$tarball")
|
deploy_path=$($(dirname $(dirname $0))/unpack-zulip "$tarball")
|
||||||
ln -nsf "$deploy_path" /home/zulip/deployments/current
|
ln -nsf "$deploy_path" /home/zulip/deployments/current
|
||||||
chown -R zulip:zulip /home/zulip/deployments
|
chown -R zulip:zulip /home/zulip/deployments
|
||||||
|
|
Loading…
Reference in New Issue