citycrew has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
Is there a way to send a signal to a script and have it restart itself?
I have a utility script that is always running. When I update the script on the server, I want to be able to send a SIG to it and have it restart itself and load the new changes. It runs as a different user so it's a bit of a pain to su to root and kill it manually, plus I want to trigger that reload from another script when it is updated.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Restarting same script
by jwkrahn (Abbot) on Dec 27, 2011 at 21:57 UTC | |
by tye (Sage) on Dec 28, 2011 at 16:06 UTC | |
|
Re: Restarting same script
by citycrew (Acolyte) on Dec 31, 2011 at 05:39 UTC |