summaryrefslogtreecommitdiff
path: root/golint.bash
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-05-24 19:57:45 +0200
committerJakob Unterwurzacher2017-05-24 19:57:45 +0200
commit70c16fde4c908414f6af53c3193a89fa296ef732 (patch)
treed7acaec8628e4c0594376009747232512c7908ab /golint.bash
parente827763f2e6226d9f5778d56c28270264950c0f5 (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 'golint.bash')
0 files changed, 0 insertions, 0 deletions