Hello,
below is what I currently use. Please note that the script requires that the bug #597496 be resolved because otherwise, the socket path will be different. I expect this script to be in need to be butchered before it would be ready for public consumption, though. Kind regards, --Toni++ -------------------------------------------------------- cut #!/bin/sh RTPATH=/var/cache/request-tracker3.8 RTUSER=_rt WEBUSER=_www11 # FCGI_SOCKET_PATH=$RTPATH/var/appSocket FCGI_SOCKET_PATH=/tmp/rt.sock PIDFILE=/var/run/rt/rt.pid LOGFILE=/var/log/rt.log case $1 in start) D=`dirname $PIDFILE` if [ ! -d $D ]; then mkdir -p $D chown $RTUSER $D fi echo -n "Starting RT's fastcgi_server: " cd $RTPATH export FCGI_SOCKET_PATH su $RTUSER -c "/usr/share/request-tracker3.8/libexec/fastcgi_server -s $FCGI_SOCKET_PATH -n 5 --pidfile $PIDFILE " >> $LOGFILE 2>&1& sleep 20 chgrp $WEBUSER $FCGI_SOCKET_PATH chmod g+w,o= $FCGI_SOCKET_PATH ls -l $FCGI_SOCKET_PATH echo "." ;; stop) echo -n "Stopping RT: " if [ -f $PIDFILE ] then echo -n `cat $PIDFILE` kill `cat $PIDFILE` echo else echo RT was not running fi ;; restart|force-reload) $0 stop $0 start ;; *) echo "Usage: $0 { stop | start | restart }" exit 1 ;; esac -------------------------------------------------------- cut -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org