mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	install: Make sure we own everything under /var/log/zulip
supervisord may start up during the install process and do a bunch of incorrect stuff, with the net effect of creating files in there owned by root. (imported from commit 28379af9680bf9d3c72da196f329abdf8c82c6be)
This commit is contained in:
		@@ -42,7 +42,7 @@ ln -nsf /etc/zulip/settings.py /root/zulip/zproject/local_settings.py
 | 
			
		||||
 | 
			
		||||
deploy_path=$($(dirname $(dirname $0))/unpack-zulip "$tarball")
 | 
			
		||||
ln -nsf "$deploy_path" /home/zulip/deployments/current
 | 
			
		||||
chown -R zulip:zulip /home/zulip/deployments
 | 
			
		||||
chown -R zulip:zulip /home/zulip/deployments /var/log/zulip
 | 
			
		||||
 | 
			
		||||
cd /home/zulip/deployments/current
 | 
			
		||||
su zulip -c /home/zulip/deployments/current/scripts/setup/create-database
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user