Re: the program will keep folking by daemontools
"Linda" <[email protected]>
| Newsgroups | gmane.comp.djb.syslog |
|---|---|
| Message-ID | <[email protected]> |
Hi Paul, yes, you are right. The problem is my run. #!/bin/sh /service/test.pl dd & /service/test.pl cc & After I change it to 1. create sub folder - /service/testdd, /service/testcc 2. create the seperated run #!/bin/sh /service/test.pl dd ===================== #!/bin/sh /service/test.pl cc Then, it works fine. However, I found another problem. This shoud be worked automactically because of /command/svscanboot in the /etc/inittab after rebook but it doesn't. Is there anything wrong with my setting? Linda ----- Original Message ----- From: "Paul Jarc" <[email protected]> To: "Linda" <[email protected]> Cc: <[email protected]> Sent: Thursday, August 26, 2004 9:57 PM Subject: Re: the program will keep folking by daemontools > "Linda" <[email protected]> wrote: > > Can I use "sleep" in the program if I want to use daemtools to > > control it? > > sleep shouldn't cause any trouble. Show us your run script. > > > print FH "exit!!\n"; > > This won't be printed, because the file handle is closed at this > point. > > > paul