Re: starting daemons at server start

2004-01-04 Thread Marty Landman
At 07:23 PM 1/4/2004, Lowell Gilbert wrote: I'm not an expert at Apache, exactly, but I can tell that you need to be more specific about the changes you're making, and why, before anybody can help you find a way to avoid doing that. As I understand it, Apache provides a module called suexec to a

Re: starting daemons at server start

2004-01-04 Thread Lowell Gilbert
Marty Landman <[EMAIL PROTECTED]> writes: > Speaking of permissions, I've got my fbsd box set up with apache2 as a > local development environment. It's working great and would save me > tons of time u/l'g and testing changes remotely if I could keep my > hands off the darned config. :) I'm not a

RE: starting daemons at server start

2004-01-04 Thread Marty Landman
At 06:03 PM 1/4/2004, Micke P wrote: Woohoo! I changed the permissions on my apache shell file and presto- apache now starts on rebooting! Speaking of permissions, I've got my fbsd box set up with apache2 as a local development environment. It's working great and would save me tons of time u/l'

RE: starting daemons at server start

2004-01-04 Thread Micke P
Woohoo! I changed the permissions on my apache shell file and presto- apache now starts on rebooting! Thanks very very much all of you for your very good help. That's one less thing to be frazzled about. Micke --- Marty Landman <[EMAIL PROTECTED]> wrote: > At 02:21 PM 1/4/2004, Micke P wrote:

RE: starting daemons at server start

2004-01-04 Thread Micke P
Hi Subhro :-), Good information. After checking, I didn't have the "local_startup" line in my /etc/rc.conf file. This didn't work on restarting just now, but I added the line pointing to the rc.d apache dir where I had added the file apache.sh earlier (below). Still had to start apache by hand.

RE: starting daemons at server start

2004-01-04 Thread Marty Landman
At 03:39 PM 1/4/2004, Micke P wrote: If there is something that is done automatically, I swear my karma is that it won't be done! I did do a port apache install. And right, I don't remember that being asked. I'm assuming there's an easier way to get this set up besides redoing the install. Mick

Re: starting daemons at server start

2004-01-04 Thread freebsd
There are numerous ways for daemons to start on boot: -- 1) Via their enabling in /etc/rc.conf (e.g. inetd, lpd) e.g. lpd_enable="YES". Look at /etc/defaults/rc.conf for things that will start (or not start) automatically unless they are overridden in /etc/rc.conf. Inetd is an good exampl

RE: starting daemons at server start

2004-01-04 Thread David Fleck
On Sun, 4 Jan 2004, Micke P wrote: > Examples of this script(working :-))? >$ cat /usr/local/etc/rc.d/apache.sh #!/bin/sh case "$1" in start) [ -x /usr/local/sbin/apachectl ] && /usr/local/sbin/apachectl start > /dev/null && echo 'apache: start' ;; stop) [ -r /var/run/htt

Re: starting daemons at server start

2004-01-04 Thread Scott W
Micke P wrote: If there is something that is done automatically, I swear my karma is that it won't be done! I did do a port apache install. And right, I don't remember that being asked. I'm assuming there's an easier way to get this set up besides redoing the install. Examples of this script(worki

RE: starting daemons at server start

2004-01-04 Thread Micke P
If there is something that is done automatically, I swear my karma is that it won't be done! I did do a port apache install. And right, I don't remember that being asked. I'm assuming there's an easier way to get this set up besides redoing the install. Examples of this script(working :-))? Mick

Re: starting daemons at server start

2004-01-04 Thread Jez Hancock
On Sun, Jan 04, 2004 at 11:21:56AM -0800, Micke P wrote: > > Right! Ok, it's definitely not inetd that I need. I'm > thinking primarily of starting apache and a dynamic ip > updater automatically at startup. Have a look for one of the dyndns update applications in the ports tree (look in /usr/port

Re: starting daemons at server start

2004-01-04 Thread Scott W
Micke P wrote: Right! Ok, it's definitely not inetd that I need. I'm thinking primarily of starting apache and a dynamic ip updater automatically at startup. Micke --- fbsd_user <[EMAIL PROTECTED]> wrote: Maybe you just don't understand what you are seeing. Inetd is the Super server. Every thi

RE: starting daemons at server start

2004-01-04 Thread Marty Landman
At 02:21 PM 1/4/2004, Micke P wrote: I'm thinking primarily of starting apache and a dynamic ip updater automatically at startup. Micke, here's a sample from my machine that may help: # ls -alh /usr/local/etc/rc.d total 20 drwxr-xr-x 2 root wheel 512B Dec 30 16:58 . drwxr-xr-x 9 root wheel

RE: starting daemons at server start

2004-01-04 Thread fbsd_user
To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: starting daemons at server start Right! Ok, it's definitely not inetd that I need. I'm thinking primarily of starting apache and a dynamic ip updater automatically at startup. Micke --- fbsd_user <[EMAIL PROTECTED]> wrote: > Ma

RE: starting daemons at server start

2004-01-04 Thread Micke P
Right! Ok, it's definitely not inetd that I need. I'm thinking primarily of starting apache and a dynamic ip updater automatically at startup. Micke --- fbsd_user <[EMAIL PROTECTED]> wrote: > Maybe you just don't understand what you are seeing. > Inetd is the > Super server. Every thing you unc

RE: starting daemons at server start

2004-01-04 Thread fbsd_user
Maybe you just don't understand what you are seeing. Inetd is the Super server. Every thing you uncomment in the inetd.conf file is an server of it own right. But instead of an daemon running for telnet or FTP all the time. Inetd runs and listens on the ports where those services would be listings

Re: starting daemons at server start

2004-01-04 Thread Marty Landman
At 01:34 PM 1/4/2004, Micke P wrote: There are a couple of things that I'm struggling with unsuccessfully. Me too. :-) One of them is figuring out how to get daemons to start up when the server starts, or restarts, without having to start them manually. Toward the end of the booting process fbsd