Inetd and restart
Jorge Goncalvez
goncal11@col.bsf.alcatel.fr
Tue Jul 10 02:10:00 GMT 2001
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/
More information about the Cygwin
mailing list