mirror of
https://github.com/Mercantec-GHC/h4-projekt-gruppe-0-sm.git
synced 2025-04-28 08:44:06 +02:00
dont try remove if not exists
This commit is contained in:
parent
a9e5f01018
commit
7abee8f6b6
@ -4,10 +4,12 @@ SERVICE=h4backend.service
|
|||||||
|
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
|
set +e
|
||||||
systemctl stop $SERVICE
|
systemctl stop $SERVICE
|
||||||
systemctl disable $SERVICE
|
systemctl disable $SERVICE
|
||||||
|
set -e
|
||||||
|
|
||||||
sudo rm /etc/systemd/system/$SERVICE
|
sudo rm -rf /etc/systemd/system/$SERVICE
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user