Make systemd service file handling identical to tinc 1.1. This removes hardcoded paths from systemd unit files, and sets the default systemd unit path to ${libdir}/systemd/system. The configure option is now renamed to --with-systemd[=PATH]. These changes now also ensure that make distcheck runs without any errors. Closes #160 on GitHub.
Set KillMode=mixed in the systemd service file. This ensures only the main process is sent the SIGTERM, and not anything else that might have started in the same control group, including the tinc-down script. Closes #145 on GitHub.
Remove ExecStop in tinc@.service This avoid tinc to receive SIGTERM twice (through ExecStop and through systemd directly) which prevented tinc-down script to be executed.
Add systemd service files.