Re: packaging help
On Tue, Apr 24, 2012 at 9:20 AM, Whit Armstrong
<armstrong.whit@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
Reply to: