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 /apps/webmin.sh | |
parent | 7e1858d5de1d90c6cbaf2a2d06beee95a33124c2 (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.sh | 2 |
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: |