Is there a way to send a signal to a script and have it restart itself?
Yes there is. A lot depends on what you mean by "restart itself". The simple answer is exec $0;. And the usual daemon behavior is to reset on a SIGHUP signal.
In reply to Re: Restarting same script
by jwkrahn
in thread Restarting same script
by citycrew
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |