[Mono-list] xsp as a daemon

Jonathan Pryor jonpryor at vt.edu
Mon Jan 2 12:27:56 EST 2006


On Mon, 2006-01-02 at 10:30 +0000, peter wrote:
> Gonzalo Paniagua Javier wrote:
> 
> >>What I would really like is for the daemon to start up when I boot the 
> >>system.  Is that possible?
> >
> >Yes.
> >
> OK, I'll bite.
> 
> How?

Edit /etc/rc.local, and add the following line:

	nohup /path/to/mono /path/to/xsp.exe [yourarguments] --nonstop &

Then restart your computer (so that /etc/rc.local is executed).

This is for Fedora Core anyway.  I assume SuSE and other Linux distros
have a similarly easy mechanism to add boot-time commands.

 - Jon




More information about the Mono-list mailing list