websocketd icon indicating copy to clipboard operation
websocketd copied to clipboard

Exit when script finished

Open LaySoft opened this issue 4 years ago • 1 comments

It is possible to quit websocketd when the executed script ends?

LaySoft avatar Nov 13 '21 18:11 LaySoft

It's not designed in this way. You certainly could give script permissions to kill websocketd and do this upon exit on Linux/OSX but instead (if you want one-time run) you could leave signal in form of some empty file or other way... then refuse to proceed with the script if that file present.

asergeyev avatar Nov 13 '21 20:11 asergeyev