MXS-1044: Added init-script for SLES11

This commit is contained in:
Bernd Wolber
2016-12-02 11:20:10 +01:00
committed by Markus Mäkelä
parent 3872cebd09
commit 5c5b2594b5
3 changed files with 173 additions and 1 deletions

View File

@ -278,6 +278,8 @@ if(WITH_SCRIPTS)
configure_file(${CMAKE_SOURCE_DIR}/etc/maxscale.service.in ${CMAKE_BINARY_DIR}/maxscale.service @ONLY)
if(DEB_BASED)
configure_file(${CMAKE_SOURCE_DIR}/etc/ubuntu/init.d/maxscale.in ${CMAKE_BINARY_DIR}/maxscale @ONLY)
elseif(SLES_BASED)
configure_file(${CMAKE_SOURCE_DIR}/etc/sles/init.d/maxscale.in ${CMAKE_BINARY_DIR}/maxscale @ONLY)
else()
configure_file(${CMAKE_SOURCE_DIR}/etc/init.d/maxscale.in ${CMAKE_BINARY_DIR}/maxscale @ONLY)
endif()