It's kind of silly to insist in having a log file in daemon mode.
This commit removes the dependency of --daemon on --logfile and makes
/dev/null the default log file. Consequently, running dss --daemon
--run without specifying --logfile no longer fails, and nothing will
be logged by default.
The documentation is updated accordingly.
#~~~~~~~~~~~~~~~~
"Run as background daemon"
flag off
#~~~~~~~~~~~~~~~~
"Run as background daemon"
flag off
- Note that dss refuses to start in daemon mode if no logfile
- was specified. This option is mostly useful in conjunction
- with the -R option described below.
+ This option is mostly useful in conjunction with the -R option
+ described below.
- Note that it is not possible to change whether dss runs as
- background daemon by sending SIGHUP.
+ Note that it is not possible to change whether dss runs as background
+ daemon by sending SIGHUP.
"Logfile for the dss daemon process"
string typestr="filename"
optional
"Logfile for the dss daemon process"
string typestr="filename"
optional
details = "
This option is only honored if both --run and --daemon are
details = "
This option is only honored if both --run and --daemon are
- given. Otherwise it is silently ignored and log output is
- written to stderr.
+ given. Otherwise it is silently ignored and log output is written
+ to stderr.
+
+ The default value means that nothing will be logged in daemon mode
+ unless this option is given.