]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
Allow to start server and audiod as daemon with no logfile.
authorAndre Noll <maan@tuebingen.mpg.de>
Tue, 7 Oct 2014 14:02:07 +0000 (14:02 +0000)
committerAndre Noll <maan@tuebingen.mpg.de>
Thu, 30 Apr 2015 15:54:51 +0000 (17:54 +0200)
Currently para_audiod and para_server won't start in the background
if no logfile is specified, so "-dL /dev/null" must be given to force
this. This is a bit tedious to type, so this commit makes "/dev/null"
the default.

To achive this, we can simply remove the gengetopt "dependon" statement
from daemon.m4. This works because if no logfile was given, log output
is written to stderr, which is redirected to /dev/null in case -d
was also given. We need to open /dev/null in read-write mode though,
but no other changes are required.


No differences found