Bash Lockfile Script

By stovesy
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 Share this:TwitterFacebookPinterest