On Aug 15, 2015 13:23, Mark Milhollan <mlm at pixelgate.net> wrote:> > On Fri, 14 Aug 2015, Thomas Eriksson wrote: > > >If it's centos 6 stick 'ulimit -s' in the init script > > I suggest putting it in the sysconfig file instead, if such exists. > >Sure, but how many init scripts provide for adding an extra command via sysconfig files? Most of them only allows for adding some predefined options to main service start command. Thomas
Am 15.08.2015 um 23:38 schrieb Thomas Eriksson <thomas.eriksson at slac.stanford.edu>:> > On Aug 15, 2015 13:23, Mark Milhollan <mlm at pixelgate.net> wrote: >> >> On Fri, 14 Aug 2015, Thomas Eriksson wrote: >> >>> If it's centos 6 stick 'ulimit -s' in the init script >> >> I suggest putting it in the sysconfig file instead, if such exists. >> >> > > Sure, but how many init scripts provide for adding an extra command > via sysconfig files? Most of them only allows for adding some predefined > options to main service start command.while processing the init script the sysconfig files are sourced and completely parsed as they where part of the init script. So, everything will interpreted. -- LF
On Aug 16, 2015 11:20, Leon Fauster <leonfauster at googlemail.com> wrote:> > Am 15.08.2015 um 23:38 schrieb Thomas Eriksson <thomas.eriksson at slac.stanford.edu>: > > > > On Aug 15, 2015 13:23, Mark Milhollan <mlm at pixelgate.net> wrote: > >> > >> On Fri, 14 Aug 2015, Thomas Eriksson wrote: > >> > >>> If it's centos 6 stick 'ulimit -s' in the init script > >> > >> I suggest putting it in the sysconfig file instead, if such exists. > >> > >> > > > > Sure, but how many init scripts provide for adding an extra command > > via sysconfig files? Most of them only allows for adding some predefined > > options to main service start command. > > > while processing the init script the sysconfig files are sourced and completely > parsed as they where part of the init script. So, everything will interpreted. > > -- > LF > ??Yes, you are absolutely correct, my bad. Thomas