From 0c3fb3a08131448de11ef388df001a9b9f3c6e63 Mon Sep 17 00:00:00 2001 From: Stelios Voutsinas Date: Mon, 19 Jun 2023 18:09:48 +0300 Subject: [PATCH] Add unlock-zeppelin script --- deployments/aglais/bin/lock-zeppelin.sh | 2 +- deployments/aglais/bin/unlock-zeppelin.sh | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100755 deployments/aglais/bin/unlock-zeppelin.sh diff --git a/deployments/aglais/bin/lock-zeppelin.sh b/deployments/aglais/bin/lock-zeppelin.sh index d9c52910..f0ea2baf 100755 --- a/deployments/aglais/bin/lock-zeppelin.sh +++ b/deployments/aglais/bin/lock-zeppelin.sh @@ -1,5 +1,5 @@ #!/bin/bash -sudo mv /etc/nginx/conf.d/zeppelin.conf /etc/nginx/conf.d/zeppelin.backup sudo mv /etc/nginx/conf.d/maintenance.backup /etc/nginx/conf.d/maintenance.conf +sudo mv /etc/nginx/conf.d/zeppelin.conf /etc/nginx/conf.d/zeppelin.backup sudo service nginx restart diff --git a/deployments/aglais/bin/unlock-zeppelin.sh b/deployments/aglais/bin/unlock-zeppelin.sh new file mode 100755 index 00000000..77443aa8 --- /dev/null +++ b/deployments/aglais/bin/unlock-zeppelin.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +sudo mv /etc/nginx/conf.d/maintenance.conf /etc/nginx/conf.d/maintenance.backup +sudo mv /etc/nginx/conf.d/zeppelin.backup /etc/nginx/conf.d/zeppelin.conf +sudo service nginx restart