getlock 1.0

A lockfile utility that uses kernel locking, rather than just creating a lockfile, so that in the event of system shutdown, app being killed, or whatever, other apps are not blocked by the undeleted lockfile. Feature set includes: multiple lockfiles, wait-time to obtain lock, kill lockfile owner, run a script on lock failure, run app with specified user/group, 'nohup', fork into background and create lockfiles 'close on exec' so they are not inheritied by child processes.