Both sides previous revisionPrevious revisionNext revision | Previous revision |
config:services.ini [2020/11/23 23:45] – [Service Keys] JavaScriptContextStack is not a thing now digital man | config:services.ini [2022/03/14 19:57] (current) – [See Also] tags Andre |
---|
===== Filename ===== | ===== Filename ===== |
| |
The base filename of the initialization file is ''[[dir:ctrl]]/services.ini''. | The default base filename of the initialization file is ''[[dir:ctrl]]/services.ini''. This filename overridden by setting the ''iniFileName'' key in the ''[services]'' section of the ''[[dir:ctrl]]/[[sbbs.ini]]'' file. |
| |
The standard host/platform variations of the initialization filenames are also supported. See [[INI_files#filenaming|INI Filenaming]] for details. | The standard host/platform variations of the initialization filenames are also supported. See [[INI_files#filenaming|INI Filenaming]] for details. |
|''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 list 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| |
|''Host'' | |Any valid hostname |Hostname for which this service should be executed| | |''Host'' | |Any valid hostname |Hostname for which this service should be executed| |
|''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| | |''JavaScript*'' |''[[sbbs.ini]]->[Services]''| | See [[JavaScript]] for details | |
|''JavaScriptTimeLimit'' |''[[sbbs.ini]]->[Services]''|0+|FIXME| | |
|''JavaScriptGcInterval'' |''[[sbbs.ini]]->[Services]''|0+|FIXME| | |
|''JavaScriptYieldInterval'' |''[[sbbs.ini]]->[Services]''|0+|FIXME| | |
| |
===== See Also ===== | ===== See Also ===== |
* [[:config:|Configuration]] | * [[:config:|Configuration]] |
* [[:service:|Services]] | * [[:service:|Services]] |
| |
| |
| {{tag>configuration general_config ini}} |
| |