kdk at daleco.biz
Mon Jun 25 16:25:45 UTC 2007
Scott Mayo wrote:
Hello from SW Missouri!
> I have set some things to automatically start in the rc.conf like ssh
> and apache by doing 'sshd_enable="YES"' and 'apache22_enable="YES"'. How
> do I start things like Zope and Cyrus?
> From the command line I can just:
> '/usr/local/cyrus/bin master &' for cyrus
> '/data/home/testuser/zope28/bin/zopectl start' for my instance of zope.
And, you could add these to your crontab ('crontab -e') or root's
with the special string "@reboot" pre-pended, and it would work.
But, that's not "by the book", just an illustration of how
the 'Nix philosophy "tools, not policy" still applies.
> I use to add lines like this to the rc.local file in linux to get them
> started. I was thinking that I read that this could still be done in
> FreeBSD, but was not the preferred way to do it.
> From looking at the scripts in '/usr/local/etc/rc.d', it looks like
> there are different ways. For zope it says that I can define
> 'zope28_enable : "YES"' in '/etc/rc.conf', '/etc/rc.conf.local' or
> '/etc/rc.conf/zope28', so I guess that I just add 'zope28_enable :
> "YES"' to my rc.conf?
I would expect that the format would be the same as the other
Similar with whatever you decide to name the imapd script.
For a full discussion, see rc(8), rc.conf(5), rc.subr(8),
> Thanks for any help. I am just trying to get a good grasp on exactly
> how things work here. I thought I understood it from reading the
> handbook, but then it seems a bit different when I get on the server.
Q: How many college football players does it take to screw in a lightbulb?
A: Only one, but he gets three credits for it.
More information about the freebsd-questions