limit only one instance of eojdaemon by locking file.see apue sec 13.5