mirror of
https://github.com/Mercantec-GHC/h4-projekt-gruppe-0-sm.git
synced 2025-04-28 08:44:06 +02:00
purge use of port on redeploy
This commit is contained in:
parent
6be8195892
commit
7a34578981
@ -7,6 +7,7 @@ Type=simple
|
|||||||
#Group=
|
#Group=
|
||||||
ExecStart=/home/host/h4-projekt-gruppe-0-sm/backend/build/server
|
ExecStart=/home/host/h4-projekt-gruppe-0-sm/backend/build/server
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
RestartSec=10
|
||||||
WorkingDirectory=/home/host/h4-projekt-gruppe-0-sm
|
WorkingDirectory=/home/host/h4-projekt-gruppe-0-sm
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
@ -11,5 +11,7 @@ make clean
|
|||||||
make RELEASE=1
|
make RELEASE=1
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
systemctl --user restart $SERVICE
|
systemctl --user stop $SERVICE
|
||||||
|
fuser -k 8080/tcp
|
||||||
|
systemctl --user start $SERVICE
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user