summaryrefslogtreecommitdiff
path: root/cmake/systemd.cmake
diff options
context:
space:
mode:
authorOtto Kekäläinen <otto@mariadb.org>2016-10-29 02:43:45 +0300
committerOtto Kekäläinen <otto@mariadb.org>2016-10-29 03:50:11 +0300
commitc912d05fab9db5829c403432fddece257c75ece0 (patch)
tree01eb9869279006802255e32f1cf73f7aee5bebb3 /cmake/systemd.cmake
parent7316b14144ceeed40dc976b9b5f2aa97f07a3eb3 (diff)
downloadmariadb-git-c912d05fab9db5829c403432fddece257c75ece0.tar.gz
MDEV-6284: Install systemd files (almost) the Debian way
The control file contents must be correct from the start and cannot be modified at build time by CMake. Also all static Debian package analyzers will fail to see all manipulations by CMake later on. It is best to do all manipulations like these in autobake-deb.sh.
Diffstat (limited to 'cmake/systemd.cmake')
-rw-r--r--cmake/systemd.cmake6
1 files changed, 0 insertions, 6 deletions
diff --git a/cmake/systemd.cmake b/cmake/systemd.cmake
index 1121fd64dce..9b51fb76799 100644
--- a/cmake/systemd.cmake
+++ b/cmake/systemd.cmake
@@ -56,12 +56,6 @@ MACRO(CHECK_SYSTEMD)
AND HAVE_SYSTEMD_SD_NOTIFY AND HAVE_SYSTEMD_SD_NOTIFYF)
ADD_DEFINITIONS(-DHAVE_SYSTEMD)
SET(SYSTEMD_SCRIPTS mariadb-service-convert galera_new_cluster galera_recovery)
- SET(SYSTEMD_DEB_FILES "usr/bin/mariadb-service-convert
- usr/bin/galera_new_cluster
- usr/bin/galera_recovery
- ${INSTALL_SYSTEMD_UNITDIR}/mariadb.service
- ${INSTALL_SYSTEMD_UNITDIR}/mariadb@.service
- ${INSTALL_SYSTEMD_UNITDIR}/mariadb@bootstrap.service.d/use_galera_new_cluster.conf")
IF(DEB)
SET(SYSTEMD_EXECSTARTPRE "ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld")
SET(SYSTEMD_EXECSTARTPOST "ExecStartPost=/etc/mysql/debian-start")