From: Guus Sliepen Date: Sat, 6 Jan 2018 15:20:03 +0000 (+0100) Subject: Set default systemd unit path to ${libdir}/systemd/system. X-Git-Tag: release-1.1pre16~42 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=c2d8264dbe8478d27ba694062cebecee0a0342c4;p=tinc Set default systemd unit path to ${libdir}/systemd/system. This installs systemd unit files into /usr/local, just like the binaries. The systemd documentation claims to read this directory as well. --- diff --git a/configure.ac b/configure.ac index 89087da5..2704edee 100644 --- a/configure.ac +++ b/configure.ac @@ -115,7 +115,7 @@ AC_ARG_WITH(systemd, [ systemd=false ] ) -AS_IF([test "x$with_systemd" = "xyes"], [systemd_path="/lib/systemd/system"], +AS_IF([test "x$with_systemd" = "xyes"], [systemd_path="\${libdir}/systemd/system"], [AS_IF([test "x$with_systemd" = "xno"], [systemd=false])]) AC_SUBST(systemd_path, $systemd_path)