Add more sample configuration and utility files
[girocco.git] / toolbox / run-jobd.sh
blob98644d9496e9badf0ad117934425b7adb05ac542
1 #!/bin/sh
3 cd "$HOME"
5 DEFAULTOPTS="-q -P --load-triggers 12,6 -d 300"
7 if [ "$1" = "--shell" ]; then
8 shift
9 /usr/bin/nice -n 18 perl -I@basedir@/jobd @basedir@/jobd/jobd.pl $DEFAULTOPTS "$@"
10 exec "$SHELL" -l -i
12 exec /usr/bin/nice -n 18 perl -I@basedir@/jobd @basedir@/jobd/jobd.pl $DEFAULTOPTS "$@"