diff --git a/cookbooks/ulimit/attributes/default.bash b/cookbooks/ulimit/attributes/default.bash index f062f937..e77b2170 100644 --- a/cookbooks/ulimit/attributes/default.bash +++ b/cookbooks/ulimit/attributes/default.bash @@ -1,3 +1,3 @@ #!/bin/bash -e -export ULIMIT_CONFIG_FILE_PATH='/etc/security/limits.conf' \ No newline at end of file +export ULIMIT_INSTALL_FILE_PATH='/etc/security/limits.conf' \ No newline at end of file diff --git a/cookbooks/ulimit/recipes/install.bash b/cookbooks/ulimit/recipes/install.bash index 1958f619..af5c33fd 100755 --- a/cookbooks/ulimit/recipes/install.bash +++ b/cookbooks/ulimit/recipes/install.bash @@ -4,8 +4,8 @@ function install() { umask '0022' - cp -f "${APP_FOLDER_PATH}/../files/limits.conf" "${ULIMIT_CONFIG_FILE_PATH}" - displayVersion "$(cat "${ULIMIT_CONFIG_FILE_PATH}")" + cp -f "${APP_FOLDER_PATH}/../files/limits.conf" "${ULIMIT_INSTALL_FILE_PATH}" + displayVersion "$(cat "${ULIMIT_INSTALL_FILE_PATH}")" umask '0077' }