[Mono-devel-list] Re: some ideas about XSP

yoros at wanadoo.es yoros at wanadoo.es
Fri Oct 3 09:38:30 EDT 2003

On Fri, Oct 03, 2003 at 08:22:37AM +0200, yoros wrote:
> Hello,
> I have a few ideas for XSP to get a more "daemon like" system. When I
> say XSP it can be applied to mod-mono-server.

I reply to myself with a few comments.

> I think that the daemon launch system must be included with the package
> (at least). Gonzalo told me that in ximian it's used daemontools to get
> xsp managed. The same with the logs.

I configured daemontools to start and manage mod-mono-server and it's
pretty good. It works very well. We can add a few lines to explain how
to configure daemontools to get a "good" service (uid/gid, logs, etc).
We can also provide initial directory structure for svscan.

> Other thing is that the config file must be in /etc/mono/xsp.config or
> in ${monoprefix}/etc/mono/xsp.config.

I don't understand why the config files of XSP and mod-mono-server are
with the tests. As Gonzalo said, they must be with the exe file. Since I
remembered when I was configuring the service for daemontools, we can
use some environment varables to configure the application we run. Is it
a good idea to have some env-vars for tell xsp/mod-mono-server the port,
application, root, etc ?

See you again,


Pedro Martínez Juliá
\  yoros at terra.es
)|    yoros at wanadoo.es
/        http://yoros.dyndns.org
Socio HispaLinux #311
Usuario Linux #275438 - http://counter.li.org
GnuPG public information:  pub  1024D/74F1D3AC
Key fingerprint = 8431 7B47 D2B4 5A46 5F8E  534F 588B E285 74F1 D3AC

More information about the Mono-devel-list mailing list