$OpenBSD$

Index: nzbget.conf
--- nzbget.conf.orig
+++ nzbget.conf
@@ -8,7 +8,7 @@
 #
 # On POSIX you can use "~" as alias for home directory (e.g. "~/downloads").
 # On Windows use absolute paths (e.g. "C:\Downloads").
-MainDir=~/downloads
+MainDir=${LOCALSTATEDIR}/nzbget
 
 # Destination directory for downloaded files.
 #
@@ -297,7 +297,7 @@ Server1.Notes=
 #
 # NOTE: If you set the option to "127.0.0.1" you will be able to connect to NZBGet
 # only from the computer running NZBGet. This restriction applies to web-interface too.
-ControlIP=0.0.0.0
+ControlIP=127.0.0.1
 
 # Port which NZBGet server and remote client use (1-65535).
 #
@@ -437,7 +437,7 @@ CertCheck=no
 # NOTE: This option has effect only if the program was started from
 # root-account, otherwise it is ignored and the daemon runs under
 # current user id.
-DaemonUsername=root
+DaemonUsername=_nzbget
 
 # Specify default umask (affects file permissions) for newly created
 # files, POSIX only (000-1000).
