This line was puzzling:
# Remove the bogus tor service Ubuntu installs by default
Is there a bug in the upstream package or something? Otherwise this just looks like a big step back from systemd to SysV — without automatic restarts the first time the daemon exits, you're locked out of the server.