Sha256: 3efee6efcd3a1edb83f96355480f2b955c38dd7b4c609e0050e3a5b282e98f56

Contents?: true

Size: 1.21 KB

Versions: 6

Compression:

Stored size: 1.21 KB

Contents

#!/bin/bash
#
# Copyright 2012-<%= Time.now.year %> Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

PATH=<%= install_dir %>/bin:<%= install_dir %>/embedded/bin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin

ulimit -c 0
ulimit -d unlimited
ulimit -e 0
ulimit -f unlimited
ulimit -i 62793
ulimit -l 64
ulimit -m unlimited
# WARNING: Increasing the global file descriptor limit increases RAM
# consumption on startup dramatically!
ulimit -n 50000
ulimit -q 819200
ulimit -r 0
ulimit -s 10240
ulimit -t unlimited
ulimit -u unlimited
ulimit -v unlimited
ulimit -x unlimited
echo "1000000" > /proc/sys/fs/file-max

umask 022

exec env - PATH=$PATH \
runsvdir -P <%= install_dir %>/service 'log: <%= '.'*395 %>'

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
omnibus-software-23.7.295 config/templates/runit/runsvdir-start.erb
omnibus-software-23.6.292 config/templates/runit/runsvdir-start.erb
omnibus-software-23.6.291 config/templates/runit/runsvdir-start.erb
omnibus-software-23.2.283 config/templates/runit/runsvdir-start.erb
omnibus-software-23.2.281 config/templates/runit/runsvdir-start.erb
omnibus-software-22.11.239 config/templates/runit/runsvdir-start.erb