Fix init scripts

This should make stop/restart work, and adds a log file to each.