summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xReaktor/index7
1 files changed, 7 insertions, 0 deletions
diff --git a/Reaktor/index b/Reaktor/index
index ac647ca3..05827373 100755
--- a/Reaktor/index
+++ b/Reaktor/index
@@ -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