From 578eead4419268834352ee8b9aa3e67f0dcaa894 Mon Sep 17 00:00:00 2001 From: Zev Benjamin Date: Mon, 13 May 2013 15:47:09 -0400 Subject: [PATCH] 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) --- tools/update-deployment | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/update-deployment b/tools/update-deployment index c88c1a1b6d..8adb718f82 100755 --- a/tools/update-deployment +++ b/tools/update-deployment @@ -27,7 +27,9 @@ if len(sys.argv) > 1: newrev = sys.argv[2] 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: os.mkdir(LOCK_DIR)