Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Dec 2004 17:39:41 +0100
From:      DanGer <danger@wilbury.sk>
To:        Scott Gerhardt <scott@g-it.ca>, questions@freebsd.org
Subject:   Re: rcNG - starting services.
Message-ID:  <178688443.20041203173941@wilbury.sk>
In-Reply-To: <9DB1391E-4548-11D9-86CC-000393801C60@g-it.ca>
References:  <9DB1391E-4548-11D9-86CC-000393801C60@g-it.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Scott,

Friday, December 3, 2004, 5:30:16 PM, you made these points:

> I just made the transition to 5.3 from 4.x and I am unclear on the the
> new rcNG way of starting locally installed services such as MySQL, 
> Samba etc.  I did read the manual pages on rc.d and rcNG.

> I just installed MySQL from ports and would like it to start 
> automatically on boot.

> The manual page for rcNG is a bit unclear for starting local userland
> services such as mysql.  A working example for a common application 
> such as MysQL, Postgresql, or Samba would certainly be useful.

> My question is:
> Do I still start MysQL the old way with the script in 
> /usr/local/etc/rc.d/mysql-server.sh?

yes

> OR
> Do I create an entry in /etc/rc.conf.local with "mysql_enable=YES"?

you need to add line mysql_enable=YES  to rc.conf

> Also, if using the rcNG method, do I have to copy the mysql-server.sh
> script to /etc/rc.d/mysql or will rcNG make use of default

no

> /usr/local/etc/rc.d/mysql-server.sh?

yes ;-)

-- 
Best Regards,

+----------==/\/\==----------+       (__)      FreeBSD
| DanGer <danger@wilbury.sk> |    \\\'',)      The
| DanGer@IRCnet ICQ261701668 |      \/  \ ^    Power
| http://danger.homeunix.org |      .\._/_)    To
+----------==\/\/==----------+                 Serve

[ Malpractice makes malperfect. ]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?178688443.20041203173941>