I've created a user named ventrilo and a group called ventrilo. Not sure why but it seemed like that's what I was supposed to do. I put the server files in /home/ventrilo.
I've tried to edit the /etc/rc.local file but not sure if I did it right.
Here's what the manual said to do.
Code: Select all
Example startup scripts:
The following script is an example of starting Linux based server(s) from the "/etc/rc.d/rc.local" file when a system is booted. Notice that they are started with the specific user account called "ventrilo" and the process priority is bumped to higher then normal.
# Startup ventrilo servers.
su ventrilo -c "$VENBIN -f$VENPATH/ventrilo_srv -d"
renice -5 `cat $VENPATH/ventrilo_srv.pid`
Note: Those are GRAVE characters around the `cat ... pid` strings. Also known as backwards apostrophe.
The "renice" command is used to bump the priority of the daemon process thus preventing it from being starved for CPU time if the same machine is used for running other programs like FTP or WEB servers. The Windows version of the server does this automatically. However, in a *NIX environment only the "root" user is allowed to bump process priority.
I want to be able to turn my computer on and leave. When it's sitting on the log in screen I want it to be running vent server, as it is already running Apache2 PHP MySql etc.
I got it working as you can tell by the post below. I hope this helps someone. Also I got TeamSpeak to run the same way on the same machine by following the steps in this Tutorial.