Mercurial > hgrepos > FreeBSD > ports > net > turnserver
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/files/pkg-message.in Thu Mar 26 21:26:40 2020 +0100 @@ -0,0 +1,42 @@ +[ +{ type: install + message: <<EOM +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 %%DATADIR%%/schema.sql as an SQL database schema, + or use %%DATADIR%%/schema*redis as Redis database description. + + If SQLite is used, then %%PREFIX%%/var/db/turndb is the default database + location. + + d) add line turnserver_enable="YES" to /etc/rc.conf. + + e) If you are using a non-default PREFIX (other than /usr/local), + then edit /usr/local/etc/rc.d/turnserver file, according to + your system settings. + + f) 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 %%DATADIR%%/schema.sql. +The TURN Server supports (optionally) SQLite, MySQL, PostgreSQL, Redis. + +4) For additional information, run: + + $ man turnserver + $ man turnadmin + $ man turnutils +EOM +} +]
