scripting Archive
-
Simple BASH script lockfiles
Posted on April 2, 2011 | No CommentsLOCKFILE=/var/lock/my-script.lock # Check if we're already running (set -C; : > $LOCKFILE) 2> /dev/null if [ $? != "0" ]; then echo "Lockfile exists, exiting" exit 1 fi ... -
Adding Lua to my software
Posted on October 30, 2009 | 2 CommentsWell, this is a bit fun! One of the main points of my game environment is that I should be able to easily modify entity behaviour without having to hard...


