Skip to content

Commit 2ef46dc

Browse files
committed
FIX kill the grpc server before starting it
1 parent 0dea346 commit 2ef46dc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

start_ethercat_server.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
#! /bin/bash
22

3+
## kill the old server if already running
4+
## this line should not do anything in the normal circumstances
5+
## TODO: make sure that the server never stays on
6+
pkill "server"
7+
8+
## start the grpc server
39
cd $HOME/dev/poulpe_ethercat_controller
410
RUST_LOG=info ./target/release/server config/robot.yaml

0 commit comments

Comments
 (0)