Just a little lockfile library for bash.
If the lockfile script is in the same folder as your script.. source $(dirname $0)/lockfile.sh
Then call.
setup_lockfile
check_lock
create_lock
Do your scripty stuff then call
cleanup_lock Continue reading "Bash Lockfile Script"