>
>
> My question is, what is the preferred way of configuring such a daemon,
> that only takes command line arguments for its configuration?
>
> The two possibilities I'm thinking of are:
> 1. put the configuration variables directly into the /etc/rc.d/rc.daemon
> script
> 2. put the configuration variables into /etc/daemon.conf file and later on
> source the file from within /etc/rc.d/rc.daemon
>
> Which way to go?

When I'm writing a daemon file and there is no default location that the
program puts the configuration file then I put it into /etc/default and
source it there from the rc file.

--Larry
_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/

Reply via email to