While directory specification might not be that important to me, setting max open files should allow reading system value.
For example if I set max open files in init script as:
MAXFILES=$(( `cat /proc/sys/fs/file-max` / 2 )) ulimit -n $MAXFILES
upstart version could allow something like:
limit nofile `$(( `cat /proc/sys/fs/file-max` / 2 ))`
or variable that has been initialized before in env.
While directory specification might not be that important to me, setting max open files should allow reading system value.
For example if I set max open files in init script as:
MAXFILES=$(( `cat /proc/sys/ fs/file- max` / 2 ))
ulimit -n $MAXFILES
upstart version could allow something like:
limit nofile `$(( `cat /proc/sys/ fs/file- max` / 2 ))`
or variable that has been initialized before in env.