I sent a short guide to Anders over email, if anybody is interested I am coping it here:
========================================
different Linuxes have somewhat different ways to set up a system service.
In general, the algorithm is:
1) create a start-up script into /etc/init.d/ directory;
2) create a script parameters file in /etc/default/ directory; (optional step)
3) create links to the start-up script in /etc/rc3.d/ directory (for "normal" "level 3" system usage).
The Debian packages posted in the
http://rfc5766-turn-server.googlecode.com Downloads take
care about everything - the user just have to enable the service in
/etc/default/rfc5766-turn-server file. If you can use Debian Wheezy, Ubuntu 12.* or Linux Mint
14+, then you can use those packages to set up everything automatically.
Or you can set a temporary virtual machine with Ubuntu, then install
the turn server with the package in it, then you can use the created
scripts as examples for your Linux distribution.
Of course, you can run the turn server "manually". You are not bound by your SSH terminal lifetime. Just make the command:
$ nohup turnserver >>/dev/null 2>>/dev/null
then you can exit the terminal.
In a similar way, the turnserver can be started as a daemon "manually":
$ turnserver -o ...
then you can exit the terminal.
============================================
Regards,
Oleg