mirror of
https://github.com/Mercantec-GHC/h4-projekt-gruppe-0-sm.git
synced 2025-04-27 16:24:07 +02:00
purge use of port on redeploy
This commit is contained in:
parent
6be8195892
commit
7a34578981
@ -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]
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user