Re: Pidfile creation before detaching from Terminal
Simon Horman <[email protected]>
| Newsgroups | gmane.mail.perdition.user |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Nov 18, 2010 at 10:13:06AM +0100, Björn Schrader wrote: > Hello, > I tried to run perdition on my ubuntu Server. > I encountered the following Problem: > The pidfile does not exist immediately after the perdition process > detaches itself from Terminal. > If the init-script waits for a second, everything is fine again. > I think the pidfile should be created before the process detaches. > > Probably moving lines 533-541 ( /* Create PID file */) in > perdition.c some lines higher, starting at line 522, will do. > But I´m not good enough in coding in C to be sure. I even don´t know > if there are other Implications in changing this behavior. Hi Björn, could you let me know which version of perdition you are using. I believe that this problem was resolved between 1.18 and 1.19-rc4. ______________________________________________ Perdition-users mailing list [email protected] http://lists.vergenet.net/listinfo/perdition-users