On Tue, Apr 24, 2012 at 9:20 AM, Whit Armstrong <armstrong.w...@gmail.com> wrote: > Matt, Ansgar, and Gergely, > > Thanks for the tips. > > Can you also help with some advice on the init.d script?
Perhaps. > The init.d script for deathstar launches a daemon which listens for > jobs, and one worker per core. This sounds a little like an apache that forks worker processes. Perhaps check apache's init script for ideas. > Can I use the same pid file for all of those processes? Most Debian init scripts use start-stop-daemon (s-s-d) for controlling the daemon. How s-s-d interacts with the daemon depends greatly on how the daemon is written. Start with /etc/init.d/skeleton and tweak as needed. -mz -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/caolfk3xczkn7mypjjxc815rvq1-xmr6m1qae-pdgebhp2t_...@mail.gmail.com