remove bot socket if exists

This commit is contained in:
uazo 2021-07-02 11:35:02 +00:00
parent 8c08b79451
commit a3a288f4c1

View File

@ -7,6 +7,7 @@ NC='\033[0m' # No Color
echo -e ${RED} -------- start goma-server ${NC} echo -e ${RED} -------- start goma-server ${NC}
test -f /tmp/proxy/bots.sock && sudo rm /tmp/proxy/bots.sock
socat UNIX-LISTEN:/tmp/proxy/bots.sock,reuseaddr,fork TCP4:$REMOTEEXEC_ADDR & socat UNIX-LISTEN:/tmp/proxy/bots.sock,reuseaddr,fork TCP4:$REMOTEEXEC_ADDR &
cd ./goma-server/ cd ./goma-server/