diff options
author | Jakob Unterwurzacher | 2017-05-24 19:57:45 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2017-05-24 19:57:45 +0200 |
commit | 70c16fde4c908414f6af53c3193a89fa296ef732 (patch) | |
tree | d7acaec8628e4c0594376009747232512c7908ab /internal | |
parent | e827763f2e6226d9f5778d56c28270264950c0f5 (diff) |
main: replace paniclog with logger(1)
Instead of redirecting stdout and stderr to /tmp/gocryptfs_paniclog,
where it is hard to find, redirect them to a newly spawned logger(1)
instance that forwards the messages to syslog.
See https://github.com/rfjakob/gocryptfs/issues/109 for an example
where the paniclog was lost due to a reboot.
Also, instead of closing stdin, redirect it to /dev/null, like most
daemons seem to do.
Diffstat (limited to 'internal')
0 files changed, 0 insertions, 0 deletions