Fixed the start scripts on Debian/Ubuntu

reported by @ihptru via IRC.