# Defaults for urbackupsrv initscript
# sourced by /etc/init.d/urbackupsrv and /lib/systemd/system/urbackup-server.service
# installed at /etc/default/urbackupsrv by the maintainer scripts

#
# This is parsed as a key=value file
#

#Port for FastCGI requests
FASTCGI_PORT=55413

#Enable internal HTTP server
#	Required for serving web interface without FastCGI
#	and for websocket connections from client
HTTP_SERVER="true"

#Port for the web interface
#(if internal HTTP server is enabled)
HTTP_PORT=55414

#Bind HTTP server to localhost only
HTTP_LOCALHOST_ONLY=false

#Bind Internet port to localhost only 
INTERNET_LOCALHOST_ONLY=false

#log file name
LOGFILE="/var/log/urbackup.log"

#Either debug,warn,info or error
LOGLEVEL="warn"

#Temporary file directory
# -- this may get very large depending on the advanced settings
DAEMON_TMPDIR="/tmp"

#Tmp file directory for sqlite temporary tables.
#You might want to put the databases on another filesystem than the other temporary files.
#Default is the same as DAEMON_TMPDIR
SQLITE_TMPDIR=""

#Interfaces from which to send broadcasts. (Default: all).
#Comma separated -- e.g. "eth0,eth1"
BROADCAST_INTERFACES=""

# Enable better error messages if a user cannot be found during login
ALLOW_USER_ENUMERATION="true"

#User the urbackupsrv process runs as
USER="urbackup"
