From 5743f4eaa13be17e0df63dae856a43fb034b5931 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Thu, 28 Nov 2019 08:34:57 +0200 Subject: [PATCH] MXS-2777: Create drop-in systemd directory The directory for user-configurable drop-in systemd files is now created on installation. --- etc/postinst.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/postinst.in b/etc/postinst.in index 17ab823d3..64b5158a2 100755 --- a/etc/postinst.in +++ b/etc/postinst.in @@ -46,10 +46,12 @@ then if [ -d "/lib/systemd/system" ] then cp @CMAKE_INSTALL_PREFIX@/@MAXSCALE_SHAREDIR@/maxscale.service /lib/systemd/system + mkdir -p /lib/systemd/system/maxscale.service.d systemctl daemon-reload elif [ -d "/usr/lib/systemd/system" ] then cp @CMAKE_INSTALL_PREFIX@/@MAXSCALE_SHAREDIR@/maxscale.service /usr/lib/systemd/system + mkdir -p /usr/lib/systemd/system/maxscale.service.d systemctl daemon-reload fi else