You can stop and restart the services using the standard command line
switches.  Such as ./httpd .

It would make more sense if they could be added to the system services and
treated as such.  My solution is basically a work-around.

Andy


From: [email protected]
[mailto:[email protected]] On Behalf Of Dave Wilson
Sent: Wednesday, June 02, 2010 3:22 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Services on Linux

That allows for automatic startup but how do you stop and restart once it's
running?

In RedHat there is a "services" menu where some services can be stopped and
started. Is this RedHat specific or would it make sense to create an entry
that appears here?

Regards,
Dave

From: [email protected]
[mailto:[email protected]] On Behalf Of Andy Morsell
Sent: Wednesday, June 02, 2010 10:35 AM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] Services on Linux

While this may not be the best practice, you can add the Apache and MapGuide
daemons to the Linux startup scripts in /etc/rc.d/rc.local.  Your entries
(for a standard install) would be something like:

#Start MGOS HTTP
#cd /usr/local/mapguideopensource/webserverextensions/apache2/bin
./httpd

#Start MGOS
cd /usr/local/mapguideopensource/server/bin
./mgserverd.sh


Andy Morsell, P.E.
Spatial Integrators, Inc.
47° 46' N 116° 49' W
www.SpatialGIS.com

From: [email protected]
[mailto:[email protected]] On Behalf Of Dave Wilson
Sent: Wednesday, June 02, 2010 8:03 AM
To: MapGuide Users Mail List
Subject: [mapguide-users] Services on Linux

A question to those that are more familiar with Linux.

What is the standard practice for running something the equivalent as a
service on Windows?

I ask this question based on the recent email where the user had not started
either Apache or MapGuide. This has happened several times so it would seem
to me that we should be configuring installs to make these process run at
startup.

What is the best way to implement this and what kind of installer work would
be required?

Regards,
Dave

autodesk_logo.jpg
Dave Wilson, AEC IM
CRT QA Analyst
Autodesk Canada, Inc.
21st Floor
645 7th Ave SW
Calgary, AB T2P 4G8
Direct      403-538-3069
Fax          403-264-1442

<<image001.jpg>>

_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to