# Settings for syncthing-relaysrv (strelaysrv). # Set to true to enable startup RUN=true # String describing who provides the service, string can't be longer than 30 characters PROVIDER="" # Listen port (comment out to use the default: 22067) # If set to a privileged port, the init script tries to redirect using iptables. # Stop the daemon before changing this parameter! #PORT=80 # Listen address (comment out to listen on all; only one single address may be set!) # Stop the daemon before changing this parameter if you use a privileged port! #ADDRESS="" # Set to true if behind a natting device (if unset defaults to false) #NAT=false # Comment out or set to an empty string to disable stats collection by the relay pool server. # If you set a listen address above, it will be used for the status server aswell. To avoid this, # comment out and add -status-srv=:22070 to RELAYSRV_OPTS. STATUS_SRV_PORT=22070 # Uncomment to enable (pools are disabled by default with this init script) # Set to "default" for the default pool. #POOLS="default" # Path to key.pem and cert.pem # Provide a path here or soft link your cert.pem and key.pem in /var/lib/syncthing-relaysrv. # Leave uncommented to let strelaysrv create the keys in its home. #KEYPATH= # To enable debugging set to true #DEBUG=false # Log to syslog or to /var/log/syncthing-relaysrv.log # Set to "syslog", "file" or "auto", where auto is the default and means to log to syslog # normally and to the file above in debug mode. To log to a file, configure rsyslog accordingly. #LOG=auto # RSYSLOG facility to log to (configure in /etc/rsyslog.d/syncthing-relaysrv.conf to # log to /var/log/syncthing-relaysrv.log) #LOG_FACILITY_FILE="local7" # How nice should the syncthing relay server be with your host? (default: 19) #NICENESS=19 # Add other options here (see https://docs.syncthing.net/users/strelaysrv.html#strelaysrv) #RELAYSRV_OPTS="-global-rate=100000000"