mirror of
https://github.com/matrix-construct/construct
synced 2024-09-12 03:29:15 +02:00
9 lines
421 B
Bash
9 lines
421 B
Bash
|
#!/bin/sh
|
||
|
testdir=`pwd`
|
||
|
prefix=`sed -n -e 's/^#define IRCD_PREFIX "\(.*\)"/\1/p' "$testdir/../include/setup.h"`
|
||
|
[ -d $prefix ] || { echo Unable to find installation prefix; exit 1; }
|
||
|
|
||
|
$prefix/bin/ircd -configfile $testdir/ircd.conf.1 -pidfile $testdir/ircd.pid.1
|
||
|
$prefix/bin/ircd -configfile $testdir/ircd.conf.2 -pidfile $testdir/ircd.pid.2
|
||
|
$prefix/bin/ircd -configfile $testdir/ircd.conf.3 -pidfile $testdir/ircd.pid.3
|