Added daemon-reload to the postinst script.

This commit is contained in:
Markus Makela 2015-07-22 17:41:48 +03:00
parent 9d83520baf
commit 162f7d0961

View File

@ -44,6 +44,7 @@ fi
if [ -d "/usr/lib/systemd/system" -a -f @CMAKE_INSTALL_PREFIX@/@MAXSCALE_SHAREDIR@/maxscale.service ]
then
cp @CMAKE_INSTALL_PREFIX@/@MAXSCALE_SHAREDIR@/maxscale.service /usr/lib/systemd/system
systemctl daemon-reload
fi
/sbin/ldconfig