summaryrefslogtreecommitdiff
path: root/community/miniupnpd/miniupnpd.systemd
diff options
context:
space:
mode:
Diffstat (limited to 'community/miniupnpd/miniupnpd.systemd')
-rw-r--r--community/miniupnpd/miniupnpd.systemd12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/miniupnpd/miniupnpd.systemd b/community/miniupnpd/miniupnpd.systemd
new file mode 100644
index 000000000..88973535c
--- /dev/null
+++ b/community/miniupnpd/miniupnpd.systemd
@@ -0,0 +1,12 @@
+[Unit]
+Description=Lightweight UPnP IGD daemon
+
+[Service]
+ExecStartPre=/etc/miniupnpd/iptables_init.sh
+ExecStart=/usr/bin/miniupnpd -f /etc/miniupnpd/miniupnpd.conf -d
+ExecStopPost=/etc/miniupnpd/iptables_removeall.sh
+PIDFile=/run/miniupnpd.pid
+StandardOutput=null
+
+[Install]
+WantedBy=network.target