Fix init-script; do not run in foreground