Daemon now runs in background on redhat, logs output to file.

Adding missing lockfile variable.