[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Eggdrop load on boot



On Sat, Sep 25, 1999 at 10:57:03AM -0500, Andrius Kasparavicius wrote:
>  maybe someone know how to make that eggdrop go up when my linux loads. I
> cant do it via rc, because then I run it on root user. It is not safe.
> So, how?

I would put a line in inittab like:

egg1:23:respawn:/usr/bin/sudo -u eggdropusername /command/to/start/eggdrop

This will not only start it at startup, but re-start it if it dies.  Which
is nice to have for an eggdrop bot.

Jon
jmarler@debian.org


Reply to: