comment out daemonize and logfile lines
move sed lines to Dockerfile