I'm exploring daemontools to run some of our applications, which generate some output as well (on both stdout and stderr).
I installed daemontools on a debian box. Every time, I do a svc -u /etc/service/myservice
to start the service, I get a [defunct]
process. How can I go about debugging this problem.
Following is my /etc/service/myservice/run
:
#!/bin/bash
exec myservice -c /etc/myservice/myservice.conf
and /etc/service/myservice/log/run
#!/bin/sh
exec multilog t ./main
Any help would be apppreciated. Thanks.