mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
1d512bccee
Submitted by: Lewis <moggie@elasticmind.net> (maintainer, private mail)
67 lines
2.4 KiB
Plaintext
67 lines
2.4 KiB
Plaintext
------------------------------------------------------------------------
|
|
ratbox-services has been successfully installed.
|
|
|
|
A sample configuration file 'ratbox-services.conf' has been created in
|
|
'%%PREFIX%%/etc/', you should edit this file as per the
|
|
ratbox-services documentation. This file is required to start services.
|
|
|
|
You may also need to perform the following steps, if you have not
|
|
already done so:
|
|
|
|
Initialize Database:
|
|
--------------------
|
|
This must be done before the services server can start, even if you are
|
|
converting from hybserv. Instructions for this are contained in:
|
|
|
|
%%DOCSDIR%%/INSTALL.<database_backend>
|
|
|
|
The following directory has been created for the database to be stored
|
|
in. For consistency, please use this location when generating your
|
|
database instead of the directory specified in the help documentation:
|
|
|
|
%%DBDIR%%/
|
|
|
|
The database schemas have been generated for you by the port, so this
|
|
step in the documentation will not be necessary. For example, to create
|
|
an sqlite database, you might do something like this:
|
|
|
|
cd %%DATADIR%%
|
|
sqlite3 %%DBDIR%%/ratbox-services.db < schema-sqlite.txt
|
|
|
|
IRCD Server Config:
|
|
-------------------
|
|
On the ircd ratbox-services will connect to, add a connect{} block.
|
|
This should have services's server name (name in serverinfo{} in
|
|
ratbox-services.conf) and no autoconnect. 'send_password' and
|
|
'accept_password' should be equal and 'flags=encrypted' should
|
|
not be used.
|
|
|
|
If you use the ratbox-services compatibility code in ircd-ratbox,
|
|
all servers need service { name = "<ratbox-services's server name>"; };
|
|
|
|
Once you have added ratbox_services_enable="YES" to /etc/rc.conf, the
|
|
server can be started by running:
|
|
|
|
%%PREFIX%%/etc/rc.d/ratbox-services start
|
|
|
|
Important UPGRADE Note:
|
|
-----------------------
|
|
Upgrading from 1.1.x to this current release will require modifications to
|
|
the services configuration file and database so everything doesn't break.
|
|
You must check the example configuration file and read the UPGRADING docs
|
|
for information on how to do this before starting services.
|
|
|
|
%%DOCSDIR%%/UPGRADING
|
|
|
|
Common database update tools and scripts referenced in ratbox-services
|
|
documentation can be found in:
|
|
%%DATADIR%%/
|
|
|
|
Database Support Note:
|
|
----------------------
|
|
In recent versions, support for MySQL and PgSQL lib detection has been slightly
|
|
broken and currently does not work as expected. This problem should be resolved
|
|
in the next release.
|
|
|
|
------------------------------------------------------------------------
|