Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbtek committed Jan 31, 2017
1 parent 8d09056 commit 8aed0bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cookbooks/ulimit/attributes/default.bash
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash -e

export ULIMIT_CONFIG_FILE_PATH='/etc/security/limits.conf'
export ULIMIT_INSTALL_FILE_PATH='/etc/security/limits.conf'
4 changes: 2 additions & 2 deletions cookbooks/ulimit/recipes/install.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
Expand Down

0 comments on commit 8aed0bd

Please sign in to comment.