Re: Making a script into a service
- From: "Ckesey@xxxxxxxxx" <Ckesey@xxxxxxxxx>
- Date: Tue, 4 Dec 2007 21:22:17 -0800 (PST)
On Dec 4, 10:05 pm, Grant <g_r_a_n...@xxxxxxxxxxx> wrote:
On Tue, 4 Dec 2007 19:16:37 -0800 (PST), "Cke...@xxxxxxxxx" <Cke...@xxxxxxxxx> wrote:
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????
Sure, post one of the scripts...
Also see/search comp.unix.shell for this type of query.
Grant.
Yes. Here is three lines that I would want to put in the service. I
want to create it more for being able to kill all of the programs with
one command instead of pgrep the scripts and killing them manually.
This is a part of my rc.local file so that they start upon startup.
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
.
- Follow-Ups:
- Re: Making a script into a service
- From: Grant
- Re: Making a script into a service
- References:
- Making a script into a service
- From: Ckesey@xxxxxxxxx
- Re: Making a script into a service
- From: Grant
- Making a script into a service
- Prev by Date: Re: How to monitor the file transfer speed of the harddisk?
- Next by Date: Re: Making a script into a service
- Previous by thread: Re: Making a script into a service
- Next by thread: Re: Making a script into a service
- Index(es):
Relevant Pages
|