postinstall.txt 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. ==================================================================
  2. 1) If your system supports automatic start-up system daemon services,
  3. then to enable the turnserver as a system service that is automatically
  4. started, you have to:
  5. a) Create and edit /etc/turnserver.conf or
  6. /usr/local/etc/turnserver.conf .
  7. Use /usr/local/etc/turnserver.conf.default as an example.
  8. b) For user accounts settings: set up SQLite or PostgreSQL or
  9. MySQL or MongoDB or Redis database for user accounts.
  10. Use /usr/local/share/turnserver/schema.sql as SQL database schema,
  11. or use /usr/local/share/turnserver/schema.userdb.redis as Redis
  12. database schema description and/or
  13. /usr/local/share/turnserver/schema.stats.redis
  14. as Redis status & statistics database schema description.
  15. If you are using SQLite, the default database location is in
  16. /var/db/turndb or in /usr/local/var/db/turndb or in /var/lib/turn/turndb.
  17. c) add whatever is necessary to enable start-up daemon for the
  18. /usr/local/bin/turnserver.
  19. 2) If you do not want the turnserver to be a system service,
  20. then you can start/stop it "manually", using the "turnserver"
  21. executable with appropriate options (see the documentation).
  22. 3) To create database schema, use schema in file
  23. /usr/local/share/turnserver/schema.sql.
  24. 4) For additional information, run:
  25. $ man turnserver
  26. $ man turnadmin
  27. $ man turnutils
  28. ==================================================================