Re: restart server with kill or init script
- From: The Keith <no@xxxxxxxx>
- Date: Thu, 22 Nov 2007 13:26:01 -0500
The Keith wrote:I'm relatively new to linux, and I recently compiled and installedHello Keith, in some cases the init scripts make the same like "kill
lighttpd on my vps running debian etch. Once installed, I realized that
I neglected to install the init scripts and could not restart my server
to implement some changes in my conf file. Having never restarted a
process before, I wasn't sure whether i necessarily needed the init
scripts, which, and correct me if I'm wrong, are just shell scripts? I
discovered the "kill" command and the "ps -A" command to locate the
proc" but for some applications you have to stop more then one process
and this with some dependencies. Normally you have for every service an
initscript in /etc/init.d and the you can execute
/etc/init.d/apache2 stop
/etc/init.d/apache2 start or more usefuel
/etc/init.d/apache2 restart
You should have a look if there is such a script for your lighttpd
Hey I appreciate your help guys. Yes, lighttpd does have init scripts, which if you compile the software manually, you have to install those scripts in a separate step. I took a look at this file, and there are commands for stop, start, and restart, etc. I was really just wondering if these scripts did much more than just killing and then restarting the process back up, just as I could do manually using "kill". Since, as Randolph points out, some apps also require other processes to be killed as well, I can see the usefulness of the init scripts. Thanks again.
.
- Follow-Ups:
- Re: restart server with kill or init script
- From: Bill Marcum
- Re: restart server with kill or init script
- References:
- Re: restart server with kill or init script
- From: Randolf Balasus
- Re: restart server with kill or init script
- Prev by Date: Re: Printing a CD label / rant
- Next by Date: newbie question about MAN
- Previous by thread: Re: restart server with kill or init script
- Next by thread: Re: restart server with kill or init script
- Index(es):
Relevant Pages
|
|