|
Re: lug-bg: Apache+pl
- Subject: Re: lug-bg: Apache+pl
- From: ivo@xxxxxxxxxxxxxx (Ivaylo Toshev)
- Date: Wed, 28 Mar 2001 12:58:02 +0300
Çà êèëâàíå íà çàáèëè ìîäåìè PPPD ñè èìà ìíîãî ïîäõîäÿùè îïöèè, êîèòî ïðîñòî
òðÿáâà äà äîáàâèø â portslave.conf:
icp-echo-interval 30
icp-echo-failure 2
Òîâà îçíà÷àâà ÷å PPPD ùå ïèíãâà ïðåç 30 ñåê. âðúçêàòà è àêî èìà äâà îòêàçà ùå
äèñêîíåêòíå.
Íà ????? 28 ???????? 2001 12:48, Nikolay Kabaivanov ïðàòè õàáåð:
> Ako goworim specialno za primera ti sus portslave ne e nuzno da se prawi
> HUP
> Ako celta ti e da se killvat zabili modemi ili portslave to kolegata mi
> e
> naprawil skriptche koeto se puska prez 5-10 min chrez /etc/crontab
> ---------------------------
> #!/bin/bash
> #This program is made by MiM0
> #
> /bin/kill `ps auxw |/bin/grep portslave |/bin/grep -v "grep" |/bin/awk
> '{printf("%-6s",$2)}'`
> ----------------------------
> Na men mi vurshi rabota
>
> Hristo Nazarov wrote:
> > Zdrawejte...
> > Iskam da pusna skript koto da se runwa kato root (da moze da prawi kill
> > -HUP proces....)..
> > towe e output ot ps...
> > root 17020 0.0 2.5 1492 772 ? S Mar27 0:00
> > /usr/local/sbin/portslave 0
> >
> > Da moze da prawi towa kill -HUP 17020...Da moze da killwa takiwa
> > procesi..towa e prosto primer...
> > edinia nachin e da se precompilira cialoto apache...i to samoto da se
> > runwa kato root, ama horata ne go preporachwat...Za drugo ne se sehtam...
> > Niakakwi idei...
> > Pozdrawi
> > Hristo NAzarow
> >
> > =========================================================================
> >== A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara
> > Zagora
--
**********************************************
* Ivaylo Toshev < ivo@xxxxxxxxxxxxxx> *
* ITCE Ltd. http://linux.itce.com *
*---------------------------*
* Sofia, BULGARIA *
***********************************************
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|
|
|