adding config file safety check
moving default PID file to /run
making sure log exists, otherwise you get an error on first run
Change polling period to once an hour
using command substitution to get rid of using a temp file
Merge pull request #1 from troyengel/master

adding config file safety check, move default PID, check log existence, change polling to once an hour, use command substitution instead of temp file