From ecdb5f1a09b80d8b09041ad51f2ab9f8a2b06a38 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Wed, 14 Mar 2018 11:21:20 +0800 Subject: web/acme: minor improve output format --- roles/web/files/acme/acme-client.sh | 1 + roles/web/files/acme/deploy.sh | 1 + 2 files changed, 2 insertions(+) (limited to 'roles/web/files/acme') diff --git a/roles/web/files/acme/acme-client.sh b/roles/web/files/acme/acme-client.sh index 1f4b15d..20e1106 100755 --- a/roles/web/files/acme/acme-client.sh +++ b/roles/web/files/acme/acme-client.sh @@ -114,4 +114,5 @@ grep -v '^\s*#' "${DOMAINSFILE}" | while read domain line; do [ $RC -ne 0 -a $RC -ne 2 ] && exit $RC done +printf "-------------------------------------------------------------\n" exit 0 diff --git a/roles/web/files/acme/deploy.sh b/roles/web/files/acme/deploy.sh index 9c6fff2..5e5ad4d 100755 --- a/roles/web/files/acme/deploy.sh +++ b/roles/web/files/acme/deploy.sh @@ -11,6 +11,7 @@ # Services to be restarted after ACME certificate update SERVICES="nginx dovecot postfix" +printf "-------------------------------------------------------------\n" for srv in ${SERVICES}; do if service ${srv} status >/dev/null 2>&1; then echo "ACME deploy: restarting ${srv} ..." -- cgit v1.2.2