summarylogtreecommitdiffstats
path: root/minidlna.service
diff options
context:
space:
mode:
Diffstat (limited to 'minidlna.service')
-rw-r--r--minidlna.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/minidlna.service b/minidlna.service
new file mode 100644
index 000000000000..63df2606061f
--- /dev/null
+++ b/minidlna.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=minidlna server
+After=network.target
+
+[Service]
+Type=simple
+User=minidlna
+Group=minidlna
+ExecStart=/usr/bin/minidlnad -S
+ProtectSystem=full
+ProtectHome=on
+PrivateDevices=on
+NoNewPrivileges=on
+
+[Install]
+WantedBy=multi-user.target