Unix Shell - Making scripts into one service

This is Interesting: Free IT Magazines  
Home > Archive > Unix Shell > December 2007 > Making scripts into one service





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Making scripts into one service
Ckesey@yahoo.com

2007-12-05, 1:42 am

I have several scripts that set to run when my unix server boots up
(in rc.local). These scripts kick off other programs that need to run
on the server.

Can anyone give me advice/guidance on how to take these scripts and
make them into one service that i can stop/start with one command such
as service stop example????

This is an example of three programs I start from the rc.local that I
would like to include:

sudo -b /etc/adb5800/adbccaster5800 -c./adbccaster_5800.cfg

sudo -b /etc/adb3800/adbccaster3800 -c./adbccaster_3800.cfg

cd /opt/kreatel_win/
gij -jar /opt/kretel_win/InfocastServer.jar -v


Advice/guidance is much appreciated!!
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com