purge use of port on redeploy

This commit is contained in:
SimonFJ20 2025-03-07 11:34:06 +01:00
parent 6be8195892
commit 7a34578981
2 changed files with 4 additions and 1 deletions

View File

@ -7,6 +7,7 @@ Type=simple
#Group=
ExecStart=/home/host/h4-projekt-gruppe-0-sm/backend/build/server
Restart=on-failure
RestartSec=10
WorkingDirectory=/home/host/h4-projekt-gruppe-0-sm
[Install]

View File

@ -11,5 +11,7 @@ make clean
make RELEASE=1
cd ..
systemctl --user restart $SERVICE
systemctl --user stop $SERVICE
fuser -k 8080/tcp
systemctl --user start $SERVICE