diff options
author | Daniel Hansson <github@hanssonit.se> | 2020-10-19 21:46:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-19 21:46:01 +0300 |
commit | cbc2c80217380ae8d08f88728a22690ecaee9a9e (patch) | |
tree | b97af5b78319da346a7377409fd8a06dd1dd96ce /lets-encrypt | |
parent | 7e1858d5de1d90c6cbaf2a2d06beee95a33124c2 (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.sh | 2 |
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 } |