[mapguide-internals] Linux startup

Jason Birch Jason.Birch at nanaimo.ca
Tue Nov 13 13:50:51 EST 2007


Hi all,

It would be handy if there were "start" and "stop" options to the Linux
mgserver executable.  This would make it a lot easier to integrate into
a sys-v service control script.  Currently, it supports "daemon", which
starts it, but I can't find an easy way of stopping it other than:

ps ax  | grep "\.\/mgserver daemon$" | cut -d " " -f 1 | xargs kill

This assumes that there is ever only one version of the daemon running,
which I think is OK.  If not, then perhaps we need some kind of instance
name parameter as well?

I know that this kind of change was made for the Windows version at some
point...

Thoughts?

Jason


More information about the mapguide-internals mailing list