This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re:Inetd and restart
- To: cygwin at sources dot redhat dot com
- Subject: Re:Inetd and restart
- From: Jorge Goncalvez <goncal11 at col dot bsf dot alcatel dot fr>
- Date: Tue, 10 Jul 2001 11:08:15 +0200 (MEST)
- Reply-To: Jorge Goncalvez <goncal11 at col dot bsf dot alcatel dot fr>
Hi, I have this code written in Perl to restart inetd but nothing happens.
sub restart_serv
{
$PROG = "c:/cygwin/usr/sbin/inetd.exe";
$SIG{HUP} = \&phenix;
sub phenix {
exec($PROG) or die " can't restart : $!\n";
}
}
thanks.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/