Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
config:services.ini [2014/08/29 19:20] – [Common Keys] Document TLS option (3.17 and newer only) deuce | config:services.ini [2021/01/12 09:57] – [Service Keys] Fix internal IPv6 address Deuce |
---|
====== services.ini ====== | ====== Services Configuration ====== |
| |
The Services Initialization file controls which Synchronet [[service:|Services]] will be available on which TCP and UDP ports. This file is located in the ''[[dir:ctrl]]'' directory. | The Services Initialization file (''services.ini'') controls which Synchronet [[service:|Services]] will be available on which TCP and UDP ports. This file is located in the ''[[dir:ctrl]]'' directory. |
| |
===== Filename ===== | ===== Filename ===== |
|''Enabled'' |''true'' |''true'' or ''false'' |Set to ''false'' to temporarily disable this service| | |''Enabled'' |''true'' |''true'' or ''false'' |Set to ''false'' to temporarily disable this service| |
|''Protocol'' |''[//service name//]'' |Any |The name of the protocol serviced by this service| | |''Protocol'' |''[//service name//]'' |Any |The name of the protocol serviced by this service| |
|''Interface''|''[[sbbs.ini]]->[Services]''|IP address or blank |IP address of the network interface to bind to (0=any/all)| | |''Interface''|''[[sbbs.ini]]->[Services]''|IP address or blank |Comma separated list of <IP address>:<port> pairs of the network interface to bind to. If the port is left out, the port in the ''Port'' key is used. For IPv6 addresses, it needs to be enclosed in square brackets [ ] if a port is specified (ie: [::]:6667) ''0.0.0.0,::'' would listen on all IPv4 and IPv6 addresses using the port specified in the ''Port'' key. ''0.0.0.0,::,192.168.0.1:7000,[fd0b:71d1:a7f3::1]:7000'' would bind to ports specified in the ''Port'' key for all interfaces and also port 7000 on the internal networks. | |
|''Command'' | |Any valid command-line |The command-line to execute to start this service| | |''Command'' | |Any valid command-line |The command-line to execute to start this service| |
|''Port'' |Default for ''Protocol'' |''1''-''65535'' |TCP or UDP port number serviced by this service| | |''Port'' |Default for ''Protocol'' |''1''-''65535'' |TCP or UDP port number serviced by this service| |
|''NotHost'' | |Any valid hostname |Hostname for which this service should not be executed| | |''NotHost'' | |Any valid hostname |Hostname for which this service should not be executed| |
|''JavaScriptMaxBytes'' |''[[sbbs.ini]]->[Services]''|0+|FIXME| | |''JavaScriptMaxBytes'' |''[[sbbs.ini]]->[Services]''|0+|FIXME| |
|''JavaScriptContextStack'' |''[[sbbs.ini]]->[Services]''|0+|FIXME| | |
|''JavaScriptThreadStack'' |''[[sbbs.ini]]->[Services]''|0+|FIXME| | |
|''JavaScriptTimeLimit'' |''[[sbbs.ini]]->[Services]''|0+|FIXME| | |''JavaScriptTimeLimit'' |''[[sbbs.ini]]->[Services]''|0+|FIXME| |
|''JavaScriptGcInterval'' |''[[sbbs.ini]]->[Services]''|0+|FIXME| | |''JavaScriptGcInterval'' |''[[sbbs.ini]]->[Services]''|0+|FIXME| |