Finally had some time to get back to my ventrilo issue and I've got it working! So I thought I might share my experience here to possibly enable some one else to get the same issue resolved more quickly.
The start up script I ended up using is this:
Code:
#!/bin/sh
# ventrilo server
case "$1" in
'start')
# Startup ventrilo servers.
VENPATH=/home/ventrilo
VENBIN=$VENPATH/ventrilo_srv
su ventrilo -c "$VENBIN -f$VENPATH/ventrilo_srv -d"
renice -5 `cat $VENPATH/3784.pid`
;;
'stop')
killall ventrilo_srv
;;
*)
echo "Usage: $0 { start | stop }"
;;
esac
exit 0 I just needed to get the paths right, make the script executable, and use the update-rc.d command to set up the sym links and stuff. the above script expects a "ventrilo" user to exist and all the required files then end up going in the /home/ventrilo directory and you point to this directory in the script after the -f as seen above. The ventrilo binary is ventrilo_srv also as seen above.
And bam! You've got a ventrilo daemon running under the ventrilo user account. also see the ventrilo_srv.htm file that comes with the installation files for more info.
If you wanted to run multiple ventrilo servers on different ports, then you can use something like the script in my original post (which was the one I used and just changed a bit), which expects there to be a sub directory called "3784" (which is the default port number) and have all the files in there, you can then have a separate sub directory for each ventrilo server. But I only wanted to run one ventrilo server anyway.
I think my problem was that I assumed it would be more complicated than it actually was.
