comparison files/pkg-message.in @ 2:a1a8a51bb1ac

COPY: the original net/turnserver from current ports
author Franz Glasner <fzglas.hg@dom66.de>
date Thu, 26 Mar 2020 21:27:57 +0100
parents 1a06bf451a04
children
comparison
equal deleted inserted replaced
0:1bd0015f7124 2:a1a8a51bb1ac
1 [
2 { type: install
3 message: <<EOM
4 1) You can start and stop the turnserver manually. But, if you want
5 to enable turnserver as an automatically started system service,
6 you have to:
7
8 a) Create and edit %%PREFIX%%/etc/turnserver.conf file.
9 Use %%PREFIX%%/etc/turnserver.conf.default as an example.
10
11 b) For user accounts settings: set up SQLite or PostgreSQL or
12 MySQL or Redis database for user accounts.
13 Use %%DATADIR%%/schema.sql as an SQL database schema,
14 or use %%DATADIR%%/schema*redis as Redis database description.
15
16 If SQLite is used, then %%PREFIX%%/var/db/turndb is the default database
17 location.
18
19 d) add line turnserver_enable="YES" to /etc/rc.conf.
20
21 e) If you are using a non-default PREFIX (other than /usr/local),
22 then edit /usr/local/etc/rc.d/turnserver file, according to
23 your system settings.
24
25 f) Restart the system or run the command:
26 $ %%PREFIX%%/etc/rc.d/turnserver start
27
28 2) If you do not want the turnserver to be a system service,
29 then you can start/stop it "manually", using the "turnserver"
30 executable with appropriate options (see the documentation).
31
32 3) To create database schema, use schema in file %%DATADIR%%/schema.sql.
33 The TURN Server supports (optionally) SQLite, MySQL, PostgreSQL, Redis.
34
35 4) For additional information, run:
36
37 $ man turnserver
38 $ man turnadmin
39 $ man turnutils
40 EOM
41 }
42 ]