[Mono-devel-list] mod_mono start/stop script

Met @ Uber met at uberstats.com
Tue Feb 24 22:13:04 EST 2004

I just started writing an init.d file to start/stop mod_mono_server.exe
until I realized it wasn't going to be very easy.  Has anyone written
something like this yet?  If not, here's what I was thinking.

Starting the server isn't hard (turn on mod_mono, check file
permissions, start/restart apache).  Restarting and stopping however, is
a bit harder because mod_mono_server.exe is run under mono.  So I was
thinking of using `pidof` and killing each process or building a semi
smart `ps aux` grep'er to find the exact pid's to kill.

How bad of an idea is this?  Suggestions?

~ Matthew

More information about the Mono-devel-list mailing list