diff options
author | tv <tv@iiso> | 2011-09-12 17:35:26 +0200 |
---|---|---|
committer | tv <tv@iiso> | 2011-09-12 17:35:26 +0200 |
commit | 1b1b674c708888840361cb6c617e7e55d7c36bee (patch) | |
tree | 6f9c7e76693fe027a9aac35ae9c10481b66e1526 | |
parent | 0285e30e054a4f8bce634a9aec314cd5aaa1e63a (diff) |
//Reaktor: redirect output to syslog
-rwxr-xr-x | index | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -4,4 +4,11 @@ set -euf # cd //Reaktor cd $(dirname $(readlink -f $0)) +# redirect stdout [and stderr] to syslog +stdout=`mktemp -u` +mkfifo $stdout +trap "rm -vf $stdout" EXIT INT +exec 1<>$stdout 2>&1 +logger -t Reaktor -f $stdout & + exec IRC/index |