Commit 74c9872a authored by Daniel Black's avatar Daniel Black Committed by Sergei Golubchik

MDEV-10797 RPM includes init script and a systemd unit

Closes #593
parent 4975d253
...@@ -148,9 +148,11 @@ IF(UNIX) ...@@ -148,9 +148,11 @@ IF(UNIX)
IF (INSTALL_SYSCONFDIR) IF (INSTALL_SYSCONFDIR)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/mysql-log-rotate DESTINATION ${INSTALL_SYSCONFDIR}/logrotate.d INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/mysql-log-rotate DESTINATION ${INSTALL_SYSCONFDIR}/logrotate.d
RENAME mysql COMPONENT SupportFiles) RENAME mysql COMPONENT SupportFiles)
INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/mysql.server IF(NOT HAVE_SYSTEMD)
DESTINATION ${INSTALL_SYSCONFDIR}/init.d INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/mysql.server
RENAME mysql COMPONENT SupportFiles) DESTINATION ${INSTALL_SYSCONFDIR}/init.d
RENAME mysql COMPONENT SupportFiles)
ENDIF()
INSTALL(FILES rpm/my.cnf DESTINATION ${INSTALL_SYSCONFDIR} INSTALL(FILES rpm/my.cnf DESTINATION ${INSTALL_SYSCONFDIR}
COMPONENT Common) COMPONENT Common)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment