Added init scripts for systemd and upstart.