On Saturday, 8 April 2023 09:33:23 BST Michael wrote:
> On Saturday, 8 April 2023 09:32:31 BST Michael wrote:
> > On Saturday, 8 April 2023 09:28:16 BST Arve Barsnes wrote:
> > > On Sat, 8 Apr 2023 at 10:00, Michael <confabul...@kintzios.com> wrote:
> > > > It was probably the addition of IPv6 - as a workaround I added 'sleep
> > > > 5s'
> > > > before the gatling init.d exec command and it now starts normally.
> > > 
> > > If it was indeed the network that was missing, you could try changing
> > > the service from "need" to "after" starting the net service.
> > > 
> > > Add to /etc/rc.conf:
> > > rc_gatling_after="net"
> > > 
> > > Regards,
> > > Arve
> > 
> > Thanks Arve, I will try it.  Should this replace the "need net" string
> > here, or added somewhere else?
> > 
> > depend() {
> > 
> >         need net
> > 
> > }
> 
> Oops!  Please ignore my question ... I didn't have enough coffee yet.  :-)

OK, I added rc_gatling_after="net" in rc.conf, but it didn't work.  gatling 
crashed.  However, adding 'sleep 5s' in its init.d startup script works.  What 
might be causing this discrepancy?




Reply via email to