84b13410b9
[Thomas: add a sleep 1 between stop and start, otherwise minidlnad does not restart properly.] Signed-off-by: Aurélien Chabot <aurelien@chabot.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 lines
187 B
Desktop File
12 lines
187 B
Desktop File
[Unit]
|
|
Description=minidlna server
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
ExecStart=/usr/sbin/minidlnad
|
|
PIDFile=/var/run/minidlna/minidlna.pid
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|