Creating default dirs with rc scripts

rflynn at rflynn at
Sat Feb 18 12:56:36 UTC 2012


for the zarafa port, I am creating a few rc scripts for the various daemons.
The issue is that these daemons do not allow overriding of the log directory
and the dynamic data directory through command line options, but only
using the configuration file.

Should the rc script create these directories so that things "work out of the
box" or should it not, as to not create unneeded directories during upgrades?

As a side note, if the log directory/file cannot be created then logging
will go to stderr and it's not hard for an operator to figure out what should
be done.

-- Mel

More information about the freebsd-ports mailing list