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.
In reply to Restarting same script by citycrew
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |