repositorypackage
0.0.0-20190221035312-374cf802ab79
Repository: https://github.com/lujjjh/panicmonitor.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# README
panicmonitor
A program that monitors Go programs and do something when they crash.
Inspired by panicwrap.
Installation
go get github.com/lujjjh/panicmonitor/cmd/panicmonitor/...
Configuration
Create a configuration file wherever you want, for example, /etc/panicmonitor.toml
.
[dingtalk]
webhook = 'https://oapi.dingtalk.com/robot/send?access_token=YOUR_TOKEN_HERE'
Usage
panicmonitor /etc/panicmonitor.toml /path/to/your/executable arguments