Am Sun, 7 Sep 2014 11:16:37 -0500
Scot Hetzel swhet...@gmail.com schrieb:
On Sun, Sep 7, 2014 at 10:44 AM, Scot Hetzel swhet...@gmail.com wrote:
I created the rc.d/refdbd script by copying /etc/rc.d/inetd and make a
few minor changes.
This script (untested) should do what the
Am 07.09.2014 um 19:00 schrieb Mike Clarke:
So all files in /etc/rd.d are potential startup scripts but those in
/usr/local/etc must meet the requirement of having a PROVIDE line.
This inconsistency isn't mentioned anywhere in the examples in
On Monday 08 Sep 2014 09:47:07 Stefan Esser wrote:
This was for a reason:
[snip detailed explanation why PROVIDE: is needed in local rc scripts]
This is obviously a shortcoming in the documentation, which should
be fixed. AFAIK, the old style startup files have never been
deprecated and
I use a service (textprox/refdb from ports, refdb_enable=YES in
/etc/rc.conf.local)
that is supposed to startup at boottime. On one CURRENT system, running
FreeBSD 11.0-CURRENT #3 r271210: Sat Sep 6 22:39:59 CEST 2014 amd64
the service is not started at boottime, but I can start the service
Hi,
On Sun, 7 Sep 2014 09:03:21 +0200
O. Hartmann ohart...@zedat.fu-berlin.de wrote:
I use a service (textprox/refdb from ports, refdb_enable=YES
in /etc/rc.conf.local) that is supposed to startup at boottime. On
one CURRENT system, running
FreeBSD 11.0-CURRENT #3 r271210: Sat Sep 6
Am Sun, 7 Sep 2014 15:33:42 +0800
Erich Dollansky er...@alogt.com schrieb:
Hi,
On Sun, 7 Sep 2014 09:03:21 +0200
O. Hartmann ohart...@zedat.fu-berlin.de wrote:
I use a service (textprox/refdb from ports, refdb_enable=YES
in /etc/rc.conf.local) that is supposed to startup at
On Sun, Sep 7, 2014 at 2:43 AM, O. Hartmann ohart...@zedat.fu-berlin.de wrote:
Am Sun, 7 Sep 2014 15:33:42 +0800
Erich Dollansky er...@alogt.com schrieb:
Hi,
On Sun, 7 Sep 2014 09:03:21 +0200
O. Hartmann ohart...@zedat.fu-berlin.de wrote:
I use a service (textprox/refdb from ports,
On Sun, Sep 7, 2014 at 3:39 AM, Scot Hetzel swhet...@gmail.com wrote:
I had a look at scripts/refdb.in, it is not a proper rc script for
FreeBSD, as it is missing several keywords:
# PROVIDE: - all scripts need this
# REQUIRE:
# BEFORE:
# KEYWORD: - optional
Which tells rcorder where to
Am Sun, 7 Sep 2014 04:03:25 -0500
Scot Hetzel swhet...@gmail.com schrieb:
On Sun, Sep 7, 2014 at 3:39 AM, Scot Hetzel swhet...@gmail.com wrote:
I had a look at scripts/refdb.in, it is not a proper rc script for
FreeBSD, as it is missing several keywords:
# PROVIDE: - all scripts need
On Sunday 07 Sep 2014 04:03:25 Scot Hetzel wrote:
I had a look at scripts/refdb.in, it is not a proper rc script for
FreeBSD, as it is missing several keywords:
# PROVIDE: - all scripts need this
I'm not sure that PROVIDE is still mandatory. But run_rc_command() in
rc.subr does require
On Sun, 7 Sep 2014 09:43:08 +0200
O. Hartmann wrote:
I renamed the script back to refdb.sh by now and the service starts
again as expected. I guess the spawning into a subshell fails
somehow at that point when booting the box.
FWIW refdb.sh works because /etc/rc.d/local will run pre-rcng
On Sun, Sep 7, 2014 at 6:16 AM, Mike Clarke jmc-freeb...@milibyte.co.uk wrote:
On Sunday 07 Sep 2014 04:03:25 Scot Hetzel wrote:
I had a look at scripts/refdb.in, it is not a proper rc script for
FreeBSD, as it is missing several keywords:
# PROVIDE: - all scripts need this
I'm not
On Sun, Sep 7, 2014 at 8:38 AM, RW rwmailli...@googlemail.com wrote:
On Sun, 7 Sep 2014 09:43:08 +0200
O. Hartmann wrote:
I renamed the script back to refdb.sh by now and the service starts
again as expected. I guess the spawning into a subshell fails
somehow at that point when booting the
On Sun, Sep 7, 2014 at 4:28 AM, O. Hartmann ohart...@zedat.fu-berlin.de wrote:
Am Sun, 7 Sep 2014 04:03:25 -0500
Scot Hetzel swhet...@gmail.com schrieb:
On Sun, Sep 7, 2014 at 3:39 AM, Scot Hetzel swhet...@gmail.com wrote:
I had a look at scripts/refdb.in, it is not a proper rc script for
On Sun, Sep 7, 2014 at 10:44 AM, Scot Hetzel swhet...@gmail.com wrote:
I created the rc.d/refdbd script by copying /etc/rc.d/inetd and make a
few minor changes.
This script (untested) should do what the scripts/refdb.in and
scripts/refdbctl.in were doing:
#!/bin/sh
#
# $FreeBSD$
#
#
On Sunday 07 Sep 2014 09:53:51 Scot Hetzel wrote:
The scripts in 3-6, and 8 are wrong. According to /etc/rc.subr, the
'# PROVIDE: ' is mandatory to detect a rc script:
Well it appears that they are only half wrong.
Scripts without PROVIDE will work if they're in /etc/rc.d but not if
in
On Sun, 7 Sep 2014 10:02:24 -0500
Scot Hetzel wrote:
On Sun, Sep 7, 2014 at 8:38 AM, RW rwmailli...@googlemail.com wrote:
On Sun, 7 Sep 2014 09:43:08 +0200
O. Hartmann wrote:
I renamed the script back to refdb.sh by now and the service
starts again as expected. I guess the spawning
On Sun, 07 Sep 2014 18:00:24 +0100
Mike Clarke wrote:
On Sunday 07 Sep 2014 09:53:51 Scot Hetzel wrote:
The scripts in 3-6, and 8 are wrong. According to /etc/rc.subr, the
'# PROVIDE: ' is mandatory to detect a rc script:
Well it appears that they are only half wrong.
Scripts
Am Sun, 7 Sep 2014 11:16:37 -0500
Scot Hetzel swhet...@gmail.com schrieb:
On Sun, Sep 7, 2014 at 10:44 AM, Scot Hetzel swhet...@gmail.com wrote:
I created the rc.d/refdbd script by copying /etc/rc.d/inetd and make a
few minor changes.
This script (untested) should do what the
19 matches
Mail list logo