It depends on the flavour, but I think for most of them there is a more structured approach of creating a control script and then hyperlinking it from the appropriate linux run mode directory (or something like that). The OS then runs the script with start/stop parameters as appropriate. I built a script like this back when I was experimenting with Ubuntu (look near the bottom):
http://wiki.osgeo.org/wiki/Building_Mapguide_on_Ubuntu_7.10_Server On 2010-06-02, Andy Morsell <[email protected]> wrote: > 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 > > _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
