summaryrefslogtreecommitdiffstats
path: root/Reaktor/index
blob: 058273736463f2d1592610e54bb2d4fcd6a62781 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/sh
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