Merge branch '2.3' into 2.4
This commit is contained in:
@ -29,9 +29,7 @@ configure_file(${CMAKE_SOURCE_DIR}/etc/maxscale.conf.in ${CMAKE_BINARY_DIR}/maxs
|
|||||||
# The systemd service file
|
# The systemd service file
|
||||||
if (CMAKE_BUILD_TYPE MATCHES "(D|d)(E|e)(B|b)(U|u)(G|g)")
|
if (CMAKE_BUILD_TYPE MATCHES "(D|d)(E|e)(B|b)(U|u)(G|g)")
|
||||||
# Options enabled only in debug builds (a literal multi-line string)
|
# Options enabled only in debug builds (a literal multi-line string)
|
||||||
set(SERVICE_FILE_DEBUG_OPTIONS
|
set(SERVICE_FILE_DEBUG_OPTIONS "LimitCORE=infinity")
|
||||||
"LimitCORE=infinity
|
|
||||||
ExecStartPost=/bin/sh -c 'prlimit -p $(pidof maxscale) --core=unlimited'")
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
configure_file(${CMAKE_SOURCE_DIR}/etc/maxscale.service.in ${CMAKE_BINARY_DIR}/maxscale.service @ONLY)
|
configure_file(${CMAKE_SOURCE_DIR}/etc/maxscale.service.in ${CMAKE_BINARY_DIR}/maxscale.service @ONLY)
|
||||||
|
|||||||
Reference in New Issue
Block a user