kill bot after 10 minutes idling
should prevent 'ping loss' due to weird network setup
This commit is contained in:
parent
9e09e78ab8
commit
f6cf8b46ec
8 changed files with 187 additions and 230 deletions
|
|
@ -9,7 +9,7 @@ export GOARCH=arm
|
|||
export GOARM=7
|
||||
|
||||
declare -a src
|
||||
src+=(bot.go boddle.go logging.go ircfoo.go)
|
||||
src+=(bot.go boddle.go logging.go helpers.go types.go)
|
||||
declare -i nproc="$(nproc)"
|
||||
|
||||
go build -p ${nproc} "${src[@]}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue