Use absolute paths when passing a pidfile and logfile to the daemon utility