dont try remove if not exists

This commit is contained in:
SimonFJ20 2025-03-07 11:43:16 +01:00
parent a9e5f01018
commit 7abee8f6b6

View File

@ -4,10 +4,12 @@ SERVICE=h4backend.service
set -xe
set +e
systemctl stop $SERVICE
systemctl disable $SERVICE
set -e
sudo rm /etc/systemd/system/$SERVICE
sudo rm -rf /etc/systemd/system/$SERVICE