From c2d8264dbe8478d27ba694062cebecee0a0342c4 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sat, 6 Jan 2018 16:20:03 +0100 Subject: [PATCH] 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. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.20.1