List,

Is there a quiker way to restart a perl daemon in UNIX rather than
having to do a kill -9 PID then start the service again using
./name_of_file.pl.  Is there any easy way like restarting the httpd
daemon service httpd restart?

Kind Regards,

Daniel Falkenberg

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 4 September 2001 12:02 PM
To: peter grotz
Cc: [EMAIL PROTECTED]
Subject: Re: creating a daemon


There is a big section in the Perl Cookbook( O'Reilly) that show you
step
by step detail of how to create a daemon.



peter grotz wrote:

> hi all,
> I need a program to run like a daemon. it should do:
> look in a directory for some flag-files, if  some exist the daemon
> should start other programs, then the daemon should sleep for letīs
say
> 5 seconds and begin again...
> how must I create such a daemon and how can I stop him working with a
> small script.
> excuse me for this newbie-questions....
> thanks
>
> --
> peter grotz
>
> rehberger architekten
> schertlinstr 23
> 86 159 augsburg
>
> tel 0821 25980-29
> fax 0821 25980-20
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to