$OpenBSD$

Index: repro/repro.config
--- repro/repro.config.orig
+++ repro/repro.config
@@ -11,16 +11,16 @@
 # Note:  Logging to cout can negatively effect performance.
 #        When repro is placed into production 'file' or
 #        'syslog' should be used.
-LoggingType = cout
+LoggingType = file
 
 # For syslog, also specify the facility, default is LOG_DAEMON
 SyslogFacility = LOG_DAEMON
 
 # Logging level: NONE|CRIT|ERR|WARNING|INFO|DEBUG|STACK
-LogLevel = INFO
+LogLevel = WARNING
 
 # Log Filename
-LogFilename = repro.log
+LogFilename = /var/log/repro/repro.log
 
 # Log file Max Bytes
 LogFileMaxBytes = 5242880
@@ -150,7 +150,7 @@ TLSUseEmailAsSIP = false
 #
 #     openssl dhparam -outform PEM -out dh2048.pem 2048
 #
-TlsDHParamsFilename = dh2048.pem
+TlsDHParamsFilename = ${SYSCONFDIR}/repro/dh2048.pem
 
 # Alternate and more flexible method to specify transports to bind to.  If specified here
 # then IPAddress, and port settings above are ignored.
@@ -190,8 +190,8 @@ TlsDHParamsFilename = dh2048.pem
 # Transport3Interface = 192.168.1.106:5061
 # Transport3Type = TLS
 # Transport3TlsDomain = sipdomain.com
-# Transport3TlsCertificate = /etc/ssl/crt/sipdomain.com.crt
-# Transport3TlsPrivateKey = /etc/ssl/private/sipdomain.com.key
+# Transport3TlsCertificate = ${SYSCONFDIR}/repro/sipdomain.com.crt
+# Transport3TlsPrivateKey = ${SYSCONFDIR}/repro/sipdomain.com.key
 # Transport3TlsPrivateKeyPassPhrase = password
 # Transport3TlsClientVerification = Mandatory
 # Transport3RecordRouteUri = sip:h1.sipdomain.com;transport=TLS
@@ -222,7 +222,7 @@ DisableIPv4 = false
 
 # Comma separated list of IP addresses used for binding the HTTP configuration interface
 # and/or certificate server. If left blank it will bind to all adapters.
-HttpBindAddress =
+HttpBindAddress = 127.0.0.1, ::1
 
 # Port on which to run the HTTP configuration interface and/or certificate server 
 # 0 to disable (default: 5080)
@@ -249,11 +249,11 @@ HttpAdminRealm = repro
 # You can use the htdigest utility from Apache to create and
 # manage this file
 #
-HttpAdminUserFile = users.txt
+HttpAdminUserFile = ${SYSCONFDIR}/repro/users.txt
 
 # Comma separated list of IP addresses used for binding the Command Server listeners.
 # If left blank it will bind to all adapters.
-CommandBindAddress =
+CommandBindAddress = 127.0.0.1, ::1
 
 # Port on which to listen for and send XML RPC messaging used in command processing
 # 0 to disable (default: 5081)
@@ -320,11 +320,11 @@ EnablePublicationRepication = true
 # the specified user
 # If neither option is specified, then no attempt will be made
 # to call setuid/setgid (there is no default value)
-#RunAsUser = repro
-#RunAsGroup = repro
+RunAsUser = _repro
+RunAsGroup = _repro
 
 # Must be true or false, default = false, not supported on Windows
-Daemonize = false
+Daemonize = true
 
 # On UNIX it is normal to create a PID file
 # if unspecified, no attempt will be made to create a PID file
@@ -367,6 +367,7 @@ Daemonize = false
 #CAFile = /etc/ssl/certs/ca-certificates.crt
 # Uncomment for Fedora, Red Hat, CentOS:
 #CAFile = /etc/pki/tls/cert.pem
+CAFile = /etc/ssl/cert.pem
 
 # Certificates in this location have to match one of the filename
 # patterns expected by the legacy reSIProcate SSL code:
@@ -434,7 +435,7 @@ DefaultDatabase = 1
 
 # Defines a BerkeleyDB storing the files in Database1Path:
 Database1Type = BerkeleyDB
-Database1Path = ./
+Database1Path = /var/db/repro
 
 # Alternatively, define an SQL database
 #
