Skip to content

getevo/watchdog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Whatchdog

Usage:

go get github.com/getevo/watchdog
cd $GOPATH/src/github.com/getevo/watchdog
go build
sudo ./watchdog install
sudo service watchdog status

For each service to check put your command like this example:

#Sample YML

name: "lvf-api"
command: "service myservice status | grep Active:"
contains: "active (running)"
#regex: ".*"
#onmatch: "echo hi"
else: "service myservice restart"
interval: "3s"
debug: "false"

Releases

No releases published

Packages

No packages published

Languages