mirror of https://github.com/zulip/zulip.git
update-deployment: Create the logs directory in addition to the humbug-deployments directory
The logs directory needs to be there the first time we start a frontend. (imported from commit c37825f5bd41cbfa3ac22f61d05552e3d4f3ccbb)
This commit is contained in:
parent
e4e9613a59
commit
578eead441
|
@ -27,7 +27,9 @@ if len(sys.argv) > 1:
|
||||||
newrev = sys.argv[2]
|
newrev = sys.argv[2]
|
||||||
refname = sys.argv[3]
|
refname = sys.argv[3]
|
||||||
|
|
||||||
subprocess.check_call(["mkdir", '-p', '/home/humbug/humbug-deployments'])
|
subprocess.check_call(["mkdir", '-p',
|
||||||
|
'/home/humbug/humbug-deployments',
|
||||||
|
'/home/humbug/logs'])
|
||||||
|
|
||||||
try:
|
try:
|
||||||
os.mkdir(LOCK_DIR)
|
os.mkdir(LOCK_DIR)
|
||||||
|
|
Loading…
Reference in New Issue