summaryrefslogtreecommitdiff
path: root/community/miniupnpd/miniupnpd.systemd
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-10-23 01:11:11 -0700
committerroot <root@rshg054.dnsready.net>2013-10-23 01:11:11 -0700
commit06a76442fa8de4a9975266a4eca7fb2a953f5244 (patch)
tree7b783eeb28c401d172561db419f82783f4380b34 /community/miniupnpd/miniupnpd.systemd
parentd5839dd449651d7781de570240f3d0a1a9162320 (diff)
Wed Oct 23 01:09:43 PDT 2013
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