Re: rc daemon_timeout

2020-04-24 Thread Thomas de Grivel
Le jeu. 23 avr. 2020 à 16:41, Antoine Jacoutot a écrit : > On Thu, Apr 23, 2020 at 02:34:20PM +0200, Thomas de Grivel wrote: > > I tried changing the following line in /etc/rc.d/rc.subr but the > > actual timeout remains 30 sec (from 'time'). > > > [ -z "${daemon_timeout}" ] &&

Re: rc daemon_timeout

2020-04-23 Thread Antoine Jacoutot
On Thu, Apr 23, 2020 at 02:34:20PM +0200, Thomas de Grivel wrote: > I tried changing the following line in /etc/rc.d/rc.subr but the > actual timeout remains 30 sec (from 'time'). > > [ -z "${daemon_timeout}" ] && daemon_timeout=600 rm /var/run/rc.d/my_daemon -- Antoine

Re: rc daemon_timeout

2020-04-23 Thread Thomas de Grivel
I tried changing the following line in /etc/rc.d/rc.subr but the actual timeout remains 30 sec (from 'time'). > [ -z "${daemon_timeout}" ] && daemon_timeout=600 Le jeu. 23 avr. 2020 à 14:28, Thomas de Grivel a écrit : > > Le jeu. 23 avr. 2020 à 13:57, Antoine Jacoutot a > écrit : > > > > On

Re: rc daemon_timeout

2020-04-23 Thread Thomas de Grivel
Le jeu. 23 avr. 2020 à 13:57, Antoine Jacoutot a écrit : > > On Thu, Apr 23, 2020 at 12:18:40PM +0100, Raf Czlonka wrote: > > On Thu, Apr 23, 2020 at 12:00:59PM BST, Thomas de Grivel wrote: > > > Hello, > > > > > > I have some trouble starting up a daemon on OpenBSD 6.6 stable using rc : > > > >

Re: rc daemon_timeout

2020-04-23 Thread Antoine Jacoutot
On Thu, Apr 23, 2020 at 12:18:40PM +0100, Raf Czlonka wrote: > On Thu, Apr 23, 2020 at 12:00:59PM BST, Thomas de Grivel wrote: > > Hello, > > > > I have some trouble starting up a daemon on OpenBSD 6.6 stable using rc : > > > > in /etc/rc.d/my_daemon : > > > > > #!/bin/ksh > > > > > >

Re: rc daemon_timeout

2020-04-23 Thread Raf Czlonka
On Thu, Apr 23, 2020 at 12:00:59PM BST, Thomas de Grivel wrote: > Hello, > > I have some trouble starting up a daemon on OpenBSD 6.6 stable using rc : > > in /etc/rc.d/my_daemon : > > > #!/bin/ksh > > > > daemon="/home/my-user/start" > > daemon_user=my-user > > daemon_timeout=600 > > > > .

rc daemon_timeout

2020-04-23 Thread Thomas de Grivel
Hello, I have some trouble starting up a daemon on OpenBSD 6.6 stable using rc : in /etc/rc.d/my_daemon : > #!/bin/ksh > > daemon="/home/my-user/start" > daemon_user=my-user > daemon_timeout=600 > > . /etc/rc.d/rc.subr > > echo "daemon_timeout ${daemon_timeout}" > rc_cmd $1 Then I run the