Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hansson <github@hanssonit.se>2020-10-19 21:46:01 +0300
committerGitHub <noreply@github.com>2020-10-19 21:46:01 +0300
commitcbc2c80217380ae8d08f88728a22690ecaee9a9e (patch)
treeb97af5b78319da346a7377409fd8a06dd1dd96ce /lets-encrypt
parent7e1858d5de1d90c6cbaf2a2d06beee95a33124c2 (diff)
Use start_if_stopped instead of just service start (#1608)
Signed-off-by: enoch85 <github@hanssonit.se>
Diffstat (limited to 'lets-encrypt')
-rw-r--r--lets-encrypt/test-new-config.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lets-encrypt/test-new-config.sh b/lets-encrypt/test-new-config.sh
index eb799075..6bf5ae08 100644
--- a/lets-encrypt/test-new-config.sh
+++ b/lets-encrypt/test-new-config.sh
@@ -63,7 +63,7 @@ fi
# Check if service is running
if ! pgrep apache2 > /dev/null
then
- systemctl start apache2.service
+ start_if_stopped apache2.service
fi
CRONTAB
}