You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
918 B

#!/bin/bash
# forksand-pgcluu
mkdir -p /home/pgcluu/log
# XXX kludge
6 years ago
#rm -rf /var/www/html/pg1
mkdir -p /var/www/html/pg1
/usr/local/bin/pgcluu \
--output=/var/www/html/pg1 \
/var/lib/pgcluu/data/pg1 1>>/home/pgcluu/log/pg1.log 2>>/home/pgcluu/log/pg1.err &
# XXX kludge
6 years ago
#rm -rf /var/www/html/pg2
mkdir -p /var/www/html/pg2
/usr/local/bin/pgcluu \
--output=/var/www/html/pg2 \
/var/lib/pgcluu/data/pg2 1>>/home/pgcluu/log/pg2.log 2>>/home/pgcluu/log/pg2.err &
# XXX kludge
6 years ago
#rm -rf /var/www/html/pg3
mkdir -p /var/www/html/pg3
/usr/local/bin/pgcluu \
--output=/var/www/html/pg3 \
/var/lib/pgcluu/data/pg3 1>>/home/pgcluu/log/pg3.log 2>>/home/pgcluu/log/pg3.err &
# XXX kludge
6 years ago
#rm -rf /var/www/html/pg4
mkdir -p /var/www/html/pg4
/usr/local/bin/pgcluu \
--output=/var/www/html/pg4 \
/var/lib/pgcluu/data/pg4 1>>/home/pgcluu/log/pg4.log 2>>/home/pgcluu/log/pg4.err &