Re: the program will keep folking by daemontools

[email protected] (Paul Jarc)
Newsgroups gmane.comp.djb.syslog
Organization What did you have in mind? A short, blunt, human pyramid?
Message-ID <[email protected]>
"Linda" <[email protected]> wrote:
> #!/bin/sh
>
> /service/test.pl dd

If you want to be able to send signals to test.pl - such as SIGTERM,
to bring the service down - then you should make that
"exec /service/test.pl ...".

Also, /service normally contains nothing but symlinks to service
directories, so you may want to move that script somewhere else.

> However, I found another problem. This shoud be worked automactically
> because of /command/svscanboot in the /etc/inittab after rebook but it
> doesn't.

You mean that after you reboot, the services aren't up?  What output
do you get from these commands:
# svstat /service/*
# { ps -ef || ps aux; } | grep svscan
# { ps -ef || ps aux; } | grep supervise
# { ps -ef || ps aux; } | grep readproctitle
# grep sv /etc/inittab


paul
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.