http://phecoopwm6x7azx26ctuqcp6673bbqkrqfeoiz2wwk36sady5tqbdpqd.onion/posts/bash/have-bash-script-fork-itself-into-background.html
Skip to main content Private area snippets.bentasker.co.uk Search Tags BASH Python JS Misc Have BASH script fork itself into background (BASH) Ben Tasker 2020-08-10 13:42 Category: BASH Sometimes you want a BASH script to be able to fork itself, so that it continues to run in the background, so that it keeps running even if (say) the SSH session is disconnected. Although you could trigger it manually when calling your script, sometimes you want it to be conditional - if a lock exists you...