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:
Zev Benjamin 2013-05-13 15:47:09 -04:00 committed by Tim Abbott
parent e4e9613a59
commit 578eead441
1 changed files with 3 additions and 1 deletions

View File

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