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}" ] &&
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
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
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 :
> > >
>
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
> > >
> > >
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
> >
> > .
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
7 matches
Mail list logo