[Slackbuilds-users] Preferred way of configuring daemon that takes command line arguments only as its configuration step
larryhaja at gmail.com
Sat Aug 6 17:02:16 UTC 2016
> 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
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SlackBuilds-users