diff options
author | Vegard Sjonfjell <vegard@yahoo-inc.com> | 2016-06-22 12:54:16 +0200 |
---|---|---|
committer | Vegard Sjonfjell <vegard@yahoo-inc.com> | 2016-06-22 12:54:16 +0200 |
commit | c9d0ebe891bff7e85f87fe19035cd4a5c9cba767 (patch) | |
tree | 4c45813261bd558353fdcf2f6f3d7a5075468ec9 /vespabase/src | |
parent | 18e9c0abd8c83315a2f2ad9b3c215a9b272bbade (diff) |
Remove /etc/profile editing
Diffstat (limited to 'vespabase/src')
-rwxr-xr-x | vespabase/src/rhel-prestart.sh | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/vespabase/src/rhel-prestart.sh b/vespabase/src/rhel-prestart.sh index bdda265b37f..ef7757bef7e 100755 --- a/vespabase/src/rhel-prestart.sh +++ b/vespabase/src/rhel-prestart.sh @@ -111,13 +111,6 @@ chown -hR ${VESPA_USER} var/db/vespa # Delete temporary files created by storage when running. rm -f /home/y/tmp/hostinfo.*.*.report -# Add $VESPA_HOME/bin to default path -perl -pi -e 'm=^pathmunge /usr/X11R6/bin after= and s=^=pathmunge /home/y/bin after; =' /etc/profile - -#Enable core files by default -perl -pi -e 's/^# No core files by default/# Vespa: Enable core files by default/' /etc/profile -perl -pi -e 's/^ulimit -S -c 0/ulimit -S -c unlimited/' /etc/profile - # Don't fail script if this command fails. # * sysctl will always return error on openvz jails sysctl kernel.core_pattern="|${VESPA_HOME}bin/vespa-core-dumper lz4 ${VESPA_HOME}var/crash/%e.core.%p.lz4" || true |