From 0e40cecd2b39ee1437f6725e983a49a9b1809564 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krizs=C3=A1n=20P=C3=A9ter?= Date: Mon, 28 Feb 2022 01:35:25 +0100 Subject: [PATCH] Added MiniDLNA systemd service file. --- minidlna.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 minidlna.service diff --git a/minidlna.service b/minidlna.service new file mode 100644 index 0000000..d16c57a --- /dev/null +++ b/minidlna.service @@ -0,0 +1,12 @@ +[Unit] +Description=MiniDLNA service +After=network.target + +[Service] +User=root +Type=simple +ExecStart=/usr/sbin/minidlnad -S +ExecReload=/bin/kill -s HUP $MAINPID + +[Install] +WantedBy=multi-user.target