void-packages/srcpkgs/minidlna/patches/config.patch

27 lines
914 B
Diff

diff --git minidlna.conf minidlna.conf
index 7e00e89..33a7c51 100644
--- minidlna.conf
+++ minidlna.conf
@@ -5,7 +5,7 @@ port=8200
#network_interface=eth0
# specify the user account name or uid to run as
-#user=jmaggard
+user=minidlna
# set this to the directory you want scanned.
# * if you want multiple directories, you can have multiple media_dir= lines
@@ -25,10 +25,10 @@ media_dir=/opt
#friendly_name=My DLNA Server
# set this if you would like to specify the directory where you want MiniDLNA to store its database and album art cache
-#db_dir=/var/cache/minidlna
+db_dir=/var/lib/minidlna
# set this if you would like to specify the directory where you want MiniDLNA to store its log file
-#log_dir=/var/log
+log_dir=/var/log/minidlna
# set this to change the verbosity of the information that is logged
# each section can use a different level: off, fatal, error, warn, info, or debug