Skip to content

Commit

Permalink
MDEV-10797 RPM includes init script and a systemd unit
Browse files Browse the repository at this point in the history
Closes #593
  • Loading branch information
grooverdan authored and vuvova committed Apr 2, 2019
1 parent 4975d25 commit 74c9872
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions support-files/CMakeLists.txt
Expand Up @@ -148,9 +148,11 @@ IF(UNIX)
IF (INSTALL_SYSCONFDIR)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/mysql-log-rotate DESTINATION ${INSTALL_SYSCONFDIR}/logrotate.d
RENAME mysql COMPONENT SupportFiles)
INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/mysql.server
DESTINATION ${INSTALL_SYSCONFDIR}/init.d
RENAME mysql COMPONENT SupportFiles)
IF(NOT HAVE_SYSTEMD)
INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/mysql.server
DESTINATION ${INSTALL_SYSCONFDIR}/init.d
RENAME mysql COMPONENT SupportFiles)
ENDIF()

INSTALL(FILES rpm/my.cnf DESTINATION ${INSTALL_SYSCONFDIR}
COMPONENT Common)
Expand Down

0 comments on commit 74c9872

Please sign in to comment.