18 lines
192 B
Bash
Executable File

#!/bin/sh
SERVICE=h4backend.service
set -xe
git pull --rebase
cd backend
make clean
make RELEASE=1
cd ..
systemctl --user stop $SERVICE
fuser -k 8080/tcp
systemctl --user start $SERVICE