Pidfile creation before detaching from Terminal
Björn Schrader <[email protected]>
| Newsgroups | gmane.mail.perdition.user |
|---|---|
| Message-ID | <[email protected]> |
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. kind regards, Bjoern Schrader ______________________________________________ Perdition-users mailing list [email protected] http://lists.vergenet.net/listinfo/perdition-users