38 lines
1.3 KiB
Plaintext
38 lines
1.3 KiB
Plaintext
|
$NetBSD: MESSAGE $
|
||
|
===========================================================================
|
||
|
|
||
|
1) You can start and stop the turnserver manually. But, if you want
|
||
|
to enable turnserver as an automatically started system service,
|
||
|
you have to:
|
||
|
|
||
|
a) Create and edit ${PREFIX}/etc/turnserver.conf file.
|
||
|
Use ${PREFIX}/etc/turnserver.conf.default as an example.
|
||
|
|
||
|
b) For user accounts settings: set up SQLite or PostgreSQL or
|
||
|
MySQL or Redis database for user accounts.
|
||
|
Use ${PREFIX}/share/doc/schema.sql as an SQL database schema,
|
||
|
or use ${PREFIX}/share/doc/schema*redis as Redis database description.
|
||
|
|
||
|
If SQLite is used, then @VARBASE@/db/turndb is the default database
|
||
|
location.
|
||
|
|
||
|
d) add line turnserver="YES" to /etc/rc.conf or /etc/rc.conf.local.
|
||
|
|
||
|
e) Restart the system or run the command:
|
||
|
$ ${PREFIX}/etc/rc.d/turnserver start
|
||
|
|
||
|
2) If you do not want the turnserver to be a system service,
|
||
|
then you can start/stop it "manually", using the "turnserver"
|
||
|
executable with appropriate options (see the documentation).
|
||
|
|
||
|
3) To create database schema, use schema in file ${PREFIX}/share/doc/schema.sql.
|
||
|
The TURN Server supports (optionally) SQLite, MySQL, PostgreSQL, Redis.
|
||
|
|
||
|
4) For additional information, run:
|
||
|
|
||
|
$ man turnserver
|
||
|
$ man turnadmin
|
||
|
$ man turnutils
|
||
|
|
||
|
===========================================================================
|