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 /apps/webmin.sh
parent7e1858d5de1d90c6cbaf2a2d06beee95a33124c2 (diff)
Use start_if_stopped instead of just service start (#1608)
Signed-off-by: enoch85 <github@hanssonit.se>
Diffstat (limited to 'apps/webmin.sh')
-rw-r--r--apps/webmin.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/webmin.sh b/apps/webmin.sh
index 7136093a..82fb3448 100644
--- a/apps/webmin.sh
+++ b/apps/webmin.sh
@@ -63,7 +63,7 @@ check_command systemctl stop webmin
# Redirect http to https on the LAN IP
check_command sed -i '/^ssl=.*/a ssl_redirect=1' /etc/webmin/miniserv.conf
check_command sed -i "/^port=.*/a host=$ADDRESS" /etc/webmin/miniserv.conf
-check_command systemctl start webmin
+start_if_stopped webmin
msg_box "Webmin is now installed and can be accessed from this address: