$OpenBSD: patch-nzbget_conf,v 1.3 2019/05/05 08:14:11 bket Exp $

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.
 #
@@ -294,7 +294,7 @@ Server1.Notes=
 # NOTE: NZBGet also supports listening on Unix domain sockets instead of TCP/IP
 # sockets. To activate this mode set option <ControlIP> to a local path
 # (e. g. "ControlIP=/var/sock").
-ControlIP=0.0.0.0
+ControlIP=127.0.0.1
 
 # Port which NZBGet server and remote client use (1-65535).
 #
@@ -447,7 +447,7 @@ UpdateCheck=stable
 # 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, POSIX only (000-1000).
 #
