[arch-commits] Commit in minidlna/trunk (PKGBUILD minidlna.service)

Sergej Pupykin spupykin at archlinux.org
Thu Feb 26 15:17:28 UTC 2015


    Date: Thursday, February 26, 2015 @ 16:17:28
  Author: spupykin
Revision: 128282

upgpkg: minidlna 1.1.4-4

upd

Modified:
  minidlna/trunk/PKGBUILD
  minidlna/trunk/minidlna.service

------------------+
 PKGBUILD         |    4 ++--
 minidlna.service |   11 ++++++++---
 2 files changed, 10 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-26 14:56:57 UTC (rev 128281)
+++ PKGBUILD	2015-02-26 15:17:28 UTC (rev 128282)
@@ -7,7 +7,7 @@
 
 pkgname=minidlna
 pkgver=1.1.4
-pkgrel=3
+pkgrel=4
 pkgdesc="A DLNA/UPnP-AV Media server (aka ReadyDLNA)"
 arch=('i686' 'x86_64')
 url="http://sourceforge.net/projects/minidlna/"
@@ -20,7 +20,7 @@
 	minidlna.service
 	minidlna.tmpfiles)
 md5sums=('67c9e91285bc3801fd91a5d26ea775d7'
-         'd419b84f0ceda0adae27019a06df5065'
+         'b701740032ba0c658e4c6fe1adceb998'
          '26de27b12d6a37c47d9714107d07aac9')
 
 prepare() {

Modified: minidlna.service
===================================================================
--- minidlna.service	2015-02-26 14:56:57 UTC (rev 128281)
+++ minidlna.service	2015-02-26 15:17:28 UTC (rev 128282)
@@ -3,9 +3,14 @@
 After=network.target
 
 [Service]
-Type=forking
-ExecStart=/usr/bin/minidlnad -P /run/minidlna/minidlna.pid
-PIDFile=/run/minidlna/minidlna.pid
+Type=simple
+User=nobody
+Group=nobody
+ExecStart=/usr/bin/minidlnad -S
+ProtectSystem=full
+ProtectHome=on
+PrivateDevices=on
+NoNewPrivileges=on
 
 [Install]
 WantedBy=multi-user.target



More information about the arch-commits mailing list