Re: starting Apache

2010-05-18 Thread Chris Turner
Justin C. Sherrill wrote: It seems that maybe we should ship with /etc/rc.d set by default. -1 for me - usual 'system is system and pkgsrc is pkgsrc' reasoning. (and just had my tweaked apache start script botched by pkgsrc) pkgsrc / rcng are super flexible - isn't there some way to spec the

Re: starting Apache

2010-05-18 Thread Chris Turner
Thomas Nikolajsen wrote: rc variable namespace still isn't separated, e.g. no reserved name space for base rc scripts, any ideas for this? this could probably be tweaked somehow in the scan / startup sequence with rcorder(1) statements.. e.g. pass 1 for 'basic init', pass 2 for 'secondary

Re: starting Apache

2010-05-17 Thread Jeremy C. Reed
On Sun, 16 May 2010, Pierre Abbat wrote: PKG_RCD_SCRIPTS=yes But the next line is RCD_SCRIPTS_DIR=/usr/pkg/share/examples/rc.d (That value is for RCD_SCRIPTS_EXAMPLEDIR.) That is broken. The default already is RCD_SCRIPTS_DIR?= /etc/rc.d So if I set that to /etc/rc.d, then

Re: starting Apache

2010-05-17 Thread Thomas Nikolajsen
But I think I'd prefer /usr/pkg/etc/rc.d, to have a clean separation between base and pkgsrc rc scripts (which might have the same names). I can second this; please make /usr/pkg/etc/rc.d default for pkgsrc; it is just too messy to use /etc/rc.d for non base scripts IMHO. (BIND removal

Re: starting Apache

2010-05-16 Thread Pierre Abbat
On Saturday 15 May 2010 23:07:21 Justin C. Sherrill wrote: It's a local setting, not one set at bulk package build time: http://mail-index.netbsd.org/tech-pkg/2010/05/14/msg005443.html I just checked mine, and it's on. PKG_RCD_SCRIPTS=yes But the next line is RCD_SCRIPTS_DIR=

Re: starting Apache

2010-05-16 Thread Sascha Wildner
Am 16.05.2010 12:05, schrieb Pierre Abbat: On Saturday 15 May 2010 23:07:21 Justin C. Sherrill wrote: It's a local setting, not one set at bulk package build time: http://mail-index.netbsd.org/tech-pkg/2010/05/14/msg005443.html I just checked mine, and it's on. Where did you check? In your

Re: starting Apache

2010-05-16 Thread Justin C. Sherrill
On Sun, May 16, 2010 6:24 am, Sascha Wildner wrote: Yeah, if RCD_SCRIPTS_DIR isn't set in /usr/pkg/etc/mk.conf, then /etc/rc.d should be the default. It seems that maybe we should ship with /etc/rc.d set by default. I don't recall if there was discussion of this before. People will still

Re: starting Apache

2010-05-16 Thread Pierre Abbat
On Sunday 16 May 2010 19:46:54 Justin C. Sherrill wrote: It seems that maybe we should ship with /etc/rc.d set by default. I don't recall if there was discussion of this before. People will still have to enable it via rc.conf anyway. There was, when I installed kdm. I think it is good to set

Re: starting Apache

2010-05-15 Thread Justin C. Sherrill
On Thu, May 13, 2010 11:54 pm, Justin C. Sherrill wrote: My guess is that in order for this to work with pkgin, Justin would have to set PKG_RCD_SCRIPTS in the mk.conf that he uses in his bulk builds. I would have guessed the opposite - that it's read by pkg_add during the binary install and

starting Apache

2010-05-13 Thread Pierre Abbat
I installed Apache a couple of weeks ago and would like to start it. There is no apache file in /etc/rc.d. There is a file /usr/pkg/share/examples/rc.d/apache. Why doesn't the package put this file in /etc/rc.d? I could copy the file there, but if I upgraded the package, and the rc.d script

Re: starting Apache

2010-05-13 Thread Sascha Wildner
Am 14.05.2010 02:52, schrieb Pierre Abbat: I installed Apache a couple of weeks ago and would like to start it. There is no apache file in /etc/rc.d. There is a file /usr/pkg/share/examples/rc.d/apache. Why doesn't the package put this file in /etc/rc.d? I could copy the file there, but if I

Re: starting Apache

2010-05-13 Thread Pierre Abbat
On Thursday 13 May 2010 21:10:24 Sascha Wildner wrote: pkgsrc has a PKG_RCD_SCRIPTS option that - if set to YES in /usr/pkg/etc/mk.conf - will copy rc.d scripts automatically to /etc/rc.d. Does pkgin have such an option, or should I just copy the script? Pierre -- When a barnacle settles

Re: starting Apache

2010-05-13 Thread Sascha Wildner
Am 14.05.2010 04:01, schrieb Pierre Abbat: On Thursday 13 May 2010 21:10:24 Sascha Wildner wrote: pkgsrc has a PKG_RCD_SCRIPTS option that - if set to YES in /usr/pkg/etc/mk.conf - will copy rc.d scripts automatically to /etc/rc.d. Does pkgin have such an option, or should I just copy the

Re: starting Apache

2010-05-13 Thread Justin C. Sherrill
On Thu, May 13, 2010 10:25 pm, Sascha Wildner wrote: Am 14.05.2010 04:01, schrieb Pierre Abbat: On Thursday 13 May 2010 21:10:24 Sascha Wildner wrote: pkgsrc has a PKG_RCD_SCRIPTS option that - if set to YES in /usr/pkg/etc/mk.conf - will copy rc.d scripts automatically to /etc/rc.d. Does