https://github.com/codeskyblue/keeprun
Keep console program running.
https://github.com/codeskyblue/keeprun
Last synced: about 2 months ago
JSON representation
Keep console program running.
- Host: GitHub
- URL: https://github.com/codeskyblue/keeprun
- Owner: codeskyblue
- License: mit
- Created: 2015-10-21T06:31:24.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-21T06:35:36.000Z (over 9 years ago)
- Last Synced: 2025-01-26T01:17:16.644Z (4 months ago)
- Language: Go
- Size: 104 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# keeprun
Keep console program running.## Install
go get -v github.com/codeskyblue/keeprun
## Usage
Usage of ./keeprun:
-delay duration
Delay between each restart (default 5s)
-killon string
Kill program when text appear$ keeprun sleep 50
# restart sleep again when sleep downWhen keeprun get SIGTERM, SIGHUP signal, process `sleep` will also be killed.
## LICENSE
[MIT](LICENSE)