GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$ cat conf
program sleep 100
$ zdaemon -C conf start
$ zdaemon -C conf kill; zdaemon -C stop; zdaemon -C status
I once got
signal SIGTERM sent to process 2289
daemon process not running
daemon manager running; daemon process not running
and then a second or so later
$ zdaemon -C conf status
program running; pid=2370
Don't ignore 'stop' if the program is respawning (#13)
Conveniently this bug was discovered while writing a test for the
previous feature (#10), so we save one test ;)