1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
[Unit] Description=minidlna server After=network.target [Service] Type=exec DynamicUser=yes ExecStart=/usr/bin/minidlnad -S RuntimeDirectory=minidlna CacheDirectory=minidlna ProtectSystem=full ProtectHome=on PrivateDevices=on NoNewPrivileges=on [Install] WantedBy=multi-user.target