fix init scripts so they use seperate log files for daemon and application