Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: restart script


  • Subject: Re: lug-bg: restart script
  • From: bkrosnov@xxxxxxxxxxxxxxxxxx (Boyan Krosnov)
  • Date: Wed, 22 Sep 1999 16:30:00 +0300



pyrwo za http i ftp proxy polzwaj SQUID :)
za skript-a ...
neshto ot sort-a na (attachment)

Towa e za edna druga programka ama mislq che imash neshto takowa w
predwid
da znaesh che ako programkata umre s Segmentation fault shte ima
problemi s socket-a kojto trqbwa da timeout-ne (okolo 15 sekundi)
za towa e slojen i wtoriq cikyl.

Boyan




#!/bin/sh
while [ 1 ] ; do
  /usr/local/bin/ipxtund -v -d 0 -l /dev/tty11 -f /etc/ipxtund.conf -c 0 -m 0
  echo -n "Waiting for the socket to die "
  until [ `netstat -an | grep :7779 | wc -l` -eq 0 ] ; do 
    sleep 1 
    echo -n "."
  done
  echo
  echo The socket died. Restarting IPXTUND, damn it !
done

==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)


  • Относно:

 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.