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