Disable old services prior to stopping

This commit is contained in:
Taylor Helsper 2020-08-22 22:12:41 -05:00
parent 47f5dae411
commit a3866ba0f5

View File

@ -25,10 +25,10 @@ if [ -f /mnt/hdd/mynode/settings/torify_apt_get ]; then
fi
# Stop and disable any old services
systemctl stop https || true
systemctl disable https || true
systemctl stop tls_proxy || true
systemctl stop https || true
systemctl disable tls_proxy || true
systemctl stop tls_proxy || true
# Create dhparam.pem (do before dpkg configure since its needed for nginx)
/usr/bin/mynode_gen_dhparam.sh