Mercurial > hgrepos > FreeBSD > ports > net > turnserver
comparison files/pkg-message.in @ 1:1a06bf451a04 origin
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Thu, 26 Mar 2020 21:26:40 +0100 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 1:1a06bf451a04 |
|---|---|
| 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 ] |
