Advertisement
Guest User

T3524

a guest
Apr 30th, 2017
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.38 KB | None | 0 0
  1. root@denied /usr/lib64/systemd/user # cat /etc/systemd/system/minidlna.service
  2. [Install]
  3. WantedBy=multi-user.target
  4.  
  5. [Unit]
  6. Description=Minidlna Daemon
  7. After=syslog.target network.target
  8.  
  9. [Service]
  10. Type=forking
  11. ExecStart=/usr/sbin/minidlnad
  12.  
  13. [Install]
  14. WantedBy=multi-user.target
  15. root@denied /usr/lib64/systemd/user # cd
  16. root@denied ~ # cat /etc/systemd/system/minidlna.service
  17. [Install]
  18. WantedBy=multi-user.target
  19.  
  20. [Unit]
  21. Description=Minidlna Daemon
  22. After=syslog.target network.target
  23.  
  24. [Service]
  25. Type=forking
  26. ExecStart=/usr/sbin/minidlnad
  27.  
  28. [Install]
  29. WantedBy=multi-user.target
  30. root@denied ~ # cat /etc/minidlna.conf                  
  31. # port for HTTP (descriptions, SOAP, media transfer) traffic
  32. port=8200
  33.  
  34. # network interfaces to serve, comma delimited
  35. #network_interface=eth0
  36.  
  37. # set this to the directory you want scanned.
  38. # * if have multiple directories, you can have multiple media_dir= lines
  39. # * if you want to restrict a media_dir to a specific content type, you
  40. #   can prepend the type, followed by a comma, to the directory:
  41. #   + "A" for audio  (eg. media_dir=A,/home/jmaggard/Music)
  42. #   + "V" for video  (eg. media_dir=V,/home/jmaggard/Videos)
  43. #   + "P" for images (eg. media_dir=P,/home/jmaggard/Pictures)
  44. media_dir=A,/mnt/disks/omen/Music
  45. media_dir=V,/mnt/disks/omen/Videos
  46.  
  47. # set this if you want to customize the name that shows up on your clients
  48. #friendly_name=My DLNA Server
  49.  
  50. # set this if you would like to specify the directory where you want MiniDLNA to store its database and album art cache
  51. #db_dir=/var/cache/minidlna
  52.  
  53. # set this if you would like to specify the directory where you want MiniDLNA to store its log file
  54. #log_dir=/var/log
  55.  
  56. # set this to change the verbosity of the information that is logged
  57. # each section can use a different level: off, fatal, error, warn, info, or debug
  58. #log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn
  59.  
  60. # this should be a list of file names to check for when searching for album art
  61. # note: names should be delimited with a forward slash ("/")
  62. album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg/Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg
  63.  
  64. # set this to no to disable inotify monitoring to automatically discover new files
  65. # note: the default is yes
  66. inotify=yes
  67.  
  68. # set this to yes to enable support for streaming .jpg and .mp3 files to a TiVo supporting HMO
  69. enable_tivo=no
  70.  
  71. # set this to strictly adhere to DLNA standards.
  72. # * This will allow server-side downscaling of very large JPEG images,
  73. #   which may hurt JPEG serving performance on (at least) Sony DLNA products.
  74. strict_dlna=no
  75.  
  76. # default presentation url is http address on port 80
  77. #presentation_url=http://www.mylan/index.php
  78.  
  79. # notify interval in seconds. default is 895 seconds.
  80. notify_interval=900
  81.  
  82. # serial and model number the daemon will report to clients
  83. # in its XML description
  84. serial=12345678
  85. model_number=1
  86.  
  87. # specify the path to the MiniSSDPd socket
  88. #minissdpdsocket=/var/run/minissdpd.sock
  89.  
  90. # use different container as root of the tree
  91. # possible values:
  92. #   + "." - use standard container (this is the default)
  93. #   + "B" - "Browse Directory"
  94. #   + "M" - "Music"
  95. #   + "V" - "Video"
  96. #   + "P" - "Pictures"
  97. # if you specify "B" and client device is audio-only then "Music/Folders" will be used as root
  98. #root_container=.
  99. root@denied ~ #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement