2009-01-26 19:21:29 +00:00
|
|
|
; this is the sample psyced configuration file. in fact it is the one
|
|
|
|
; being used for the gentoo default installation. you can use this if
|
|
|
|
; you are doing manual installation, otherwise 'install.sh' will create
|
|
|
|
; one for you.
|
|
|
|
;
|
|
|
|
; after modifying this file you must always run 'psyconf'.
|
|
|
|
; inspect http://about.psyc.eu/psyced for further instructions.
|
|
|
|
;
|
|
|
|
; boolean variables are 0 = false (no) and 1 = true (yes).
|
|
|
|
|
|
|
|
[_basic]
|
|
|
|
; Base directory of this PSYCED installation
|
|
|
|
_path_base = /opt/psyced
|
2016-02-24 09:04:06 +00:00
|
|
|
; psyced runs in a sandbox of psyclpc and therefore needs this to be writable
|
2009-01-26 19:21:29 +00:00
|
|
|
|
|
|
|
; Configuration directory of this PSYCED installation
|
|
|
|
; psyconf will automatically search /etc/psyc for psyced.ini.
|
|
|
|
; If you plan to put this file anywhere else, you will have to pass it
|
|
|
|
; as argument to psyconf.
|
|
|
|
_path_configuration = /etc/psyc
|
|
|
|
|
|
|
|
; Path leading to your private and public TLS keys
|
2011-12-03 14:06:54 +00:00
|
|
|
; (absolute or relative to the configuration directory).
|
2016-02-24 09:04:06 +00:00
|
|
|
_path_PEM_key = psyced.key
|
|
|
|
_path_PEM_certificate = psyced.crt
|
2011-12-03 14:06:54 +00:00
|
|
|
; Remember to make these files accessible to the userid
|
|
|
|
; running the psyced daemon!
|
2009-01-26 19:21:29 +00:00
|
|
|
|
|
|
|
; Path to the TLS trust directory where certs are kept.
|
|
|
|
; If unset this will default to your system installation's defaults.
|
|
|
|
;_path_trust = trust
|
|
|
|
;
|
|
|
|
; Path to the TLS CRL directory where certificate revocation lists are kept.
|
|
|
|
; We currently simply use the same one as for the certs. In fact we don't use
|
|
|
|
; these things yet, but it is a good idea to start doing so.
|
|
|
|
;_path_revocation = trust
|
|
|
|
|
|
|
|
; Do you want psyced to be launched automatically at system startup?
|
|
|
|
; List of filenames a System V start/stop script shall be generated to.
|
|
|
|
; Purpose of this is: you can _really_ move the installation
|
|
|
|
; to another _path_base.
|
|
|
|
;
|
|
|
|
; May look like this for a classic System V set-up:
|
|
|
|
;_list_script_init = /etc/rc.d/psyced /etc/rc.d/rc3.d/K04psyced /etc/rc.d/rc3.d/S44psyced
|
|
|
|
; or it should look like this for gentoo:
|
2011-12-03 14:06:54 +00:00
|
|
|
;_list_script_init = /etc/init.d/psyced
|
2009-01-26 19:21:29 +00:00
|
|
|
; You can simply disable the line to turn off this feature.
|
|
|
|
;
|
|
|
|
; Userid to run the psyced as, when started from the init script.
|
|
|
|
_system_user = psyced
|
|
|
|
;
|
|
|
|
; Unused as yet:
|
|
|
|
;_system_group = psyc
|
|
|
|
|
|
|
|
; Where new users will be sent to
|
|
|
|
_place_default = RendezVous
|
|
|
|
|
|
|
|
; How the system speaks to you unless specified.
|
|
|
|
; de = German, en = English, en_g = English for Geeks
|
|
|
|
_language_default = en
|
|
|
|
|
|
|
|
; The externally visible name & domain of your host
|
2011-12-03 14:06:54 +00:00
|
|
|
;_host_name = host
|
2009-01-26 19:21:29 +00:00
|
|
|
;_host_domain = example.org
|
2011-12-03 14:06:54 +00:00
|
|
|
;
|
2013-09-28 00:46:06 +00:00
|
|
|
; If you want to run psyced with federation over Tor
|
|
|
|
; input the hidden service hostname as provided by Tor
|
|
|
|
; in etc/tor/.onion/hostname first time you run it
|
|
|
|
;_host_name = <yourPublicKeyHash>
|
|
|
|
;_host_domain = onion
|
|
|
|
;
|
2011-12-03 14:06:54 +00:00
|
|
|
; You don't *have* to provide this. If nothing is given
|
|
|
|
; psyced will figure out its hostname and/or dynamic
|
|
|
|
; IP address by itself
|
2009-01-26 19:21:29 +00:00
|
|
|
|
|
|
|
; Would you like to bind the server to a specific IP address?
|
|
|
|
; If you do you MUST also provide _host_name and _host_domain
|
|
|
|
;_host_IP = 127.0.0.1
|
|
|
|
|
|
|
|
; Nickname for the chatserver. Appears in login message, telnet prompt,
|
|
|
|
; IRC gateways and some web pages. Will use _host_name if unspecified.
|
2011-12-03 14:06:54 +00:00
|
|
|
_nick_server = psyced
|
2009-01-26 19:21:29 +00:00
|
|
|
|
|
|
|
[_administrators]
|
|
|
|
; Space-seperated list of administrator user nicknames.
|
2011-12-03 14:06:54 +00:00
|
|
|
_list_nicks = admin
|
2009-01-26 19:21:29 +00:00
|
|
|
; If the administrators have not been registered yet, this password will be
|
|
|
|
; assigned to them. If you leave this out you will be prompted for each as yet
|
|
|
|
; unregistered administrator, but you have to run psyconf manually!
|
|
|
|
;_password_default = my secret
|
|
|
|
|
|
|
|
[_protocols]
|
2013-09-28 00:46:06 +00:00
|
|
|
; If you don't have TLS or SSL simply set this to
|
|
|
|
; "no" and all the _encrypted ports will be ignored.
|
|
|
|
; This is also a good choice if you intend to use
|
|
|
|
; TLS autodetection (see psyclpc).
|
|
|
|
_use_encryption = yes
|
|
|
|
; If you want ONLY the TLS ports and none of the
|
|
|
|
; unencrypted ones, say "only" - but don't do this
|
|
|
|
; if you want to use Tor federation.
|
2009-01-26 19:21:29 +00:00
|
|
|
|
|
|
|
[_protocols_port]
|
2013-09-28 00:46:06 +00:00
|
|
|
; If you want your server to be reachable via a Tor
|
|
|
|
; hidden service, psyconf will generate a suitable
|
|
|
|
; torrc for you. The port numbers shown as _hidden
|
|
|
|
; will be mapped to the Tor hidden service. Avoid
|
|
|
|
; having too many of them. For PSYC federation to
|
|
|
|
; work properly over Tor, you need your node to use
|
|
|
|
; the .onion hostname instead of a traditional one.
|
|
|
|
; See above. If you leave that out, then your node
|
|
|
|
; will be reachable via Tor, but not connect to other
|
|
|
|
; PSYC nodes in the Tor network. Finally, if you want
|
|
|
|
; to federate over Tor, you need to add "torsocks" in
|
|
|
|
; front of the psyced wrapper script. And remember this
|
|
|
|
; is experimental as hell.
|
|
|
|
|
2009-01-26 19:21:29 +00:00
|
|
|
_PSYC = 4404
|
2013-09-28 00:46:06 +00:00
|
|
|
_PSYC_hidden = 4404
|
2009-01-26 19:21:29 +00:00
|
|
|
_PSYC_encrypted = 9404
|
|
|
|
_telnet = 2323
|
2013-09-28 00:46:06 +00:00
|
|
|
;_telnet_hidden = 23
|
2009-01-26 19:21:29 +00:00
|
|
|
_telnet_encrypted = 9992
|
|
|
|
_jabber_S2S = 5269
|
|
|
|
_jabber_clients = 5222
|
|
|
|
_jabber_clients_encrypted = 5223
|
|
|
|
_IRC = 6667
|
2013-09-28 00:46:06 +00:00
|
|
|
_IRC_hidden = 6667
|
1984-04-04 00:44:05 +00:00
|
|
|
; according to https://tools.ietf.org/html/draft-butcher-irc-url-04
|
|
|
|
; we should be using 994, but then you better do a firewall forward.
|
|
|
|
; then again https://tools.ietf.org/html/rfc7194 favors 6697.
|
|
|
|
; who knows what actual ircs: URL implementations will do?
|
|
|
|
_IRC_encrypted = 6697
|
2011-12-03 14:06:54 +00:00
|
|
|
_HTTP = 33333
|
2013-09-28 00:46:06 +00:00
|
|
|
;_HTTP_hidden = 80
|
2011-12-03 14:06:54 +00:00
|
|
|
_HTTP_encrypted = 34443
|
2009-01-26 19:21:29 +00:00
|
|
|
_applet = 2008
|
|
|
|
_SMTP = 2525
|
2013-09-28 00:46:06 +00:00
|
|
|
;_SMTP_hidden = 25
|
2009-01-26 19:21:29 +00:00
|
|
|
;_SMTP_encrypted = 4656
|
|
|
|
|
|
|
|
; Experimental protocol services
|
|
|
|
;_POP3 = 1100
|
|
|
|
;_POP3_encrypted = 9950
|
|
|
|
;_NNTP = 1199
|
|
|
|
;_NNTP_encrypted = 5636
|
|
|
|
|
|
|
|
[_optional]
|
|
|
|
; Enable web-based configuration tool
|
|
|
|
_config_HTTP = 0
|
|
|
|
|
|
|
|
; Runtime output can either be in .out and .err files or onto the console
|
|
|
|
; For development, _console_debug is extremely useful,
|
|
|
|
; for regular service it is better to have output in files.
|
|
|
|
_console_debug = 0
|
|
|
|
; If your console charset differs from UTF-8, output will look nicer if you
|
|
|
|
; enable the following line. The charset must be something iconv understands.
|
|
|
|
;_charset_console = ISO-8859-15
|
|
|
|
; '0' is tranquility unless something serious happens. best choice.
|
|
|
|
; '1' gives you slightly interesting output and LPC development debug.
|
2009-02-07 23:30:32 +00:00
|
|
|
; '2' or '3' is too much and too detailed. don't use it globally, as it
|
|
|
|
; may even trigger exceptions. use it only with _extra_debug below.
|
2009-01-26 19:21:29 +00:00
|
|
|
_level_debug = 0
|
2009-01-26 20:12:53 +00:00
|
|
|
; Advanced extra debug flags for the psyclpc command line. You can debug
|
|
|
|
; specific parts of psyced like for example the textdb subsystem by adding
|
|
|
|
; -DDtext=2 here. You can figure out which other parts of psyced are debuggable
|
|
|
|
; by doing a "grep -r 'define DEBUG D' ." in the world directory, then assign
|
|
|
|
; a debug level in the same way as the global debug level above.
|
2011-12-03 14:06:54 +00:00
|
|
|
;_extra_debug = -DDcontext=2
|
2009-01-26 19:21:29 +00:00
|
|
|
|
|
|
|
; We create files that are editable by the psyc group
|
|
|
|
_umask = 007
|
|
|
|
|