summaryrefslogtreecommitdiff
path: root/pcr/miniupnpd/miniupnpd.systemd
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2013-02-16 00:18:10 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2013-02-16 00:18:10 -0500
commit0174f5578fd28a78c48e99e1730fdae27c0fdb1b (patch)
treea5a2e7697ed94031e7226f7adb508716f3c4b953 /pcr/miniupnpd/miniupnpd.systemd
parent49eec46aeb12ce8e0d269ef9a04d48b64b0b5628 (diff)
downloadabslibre-0174f5578fd28a78c48e99e1730fdae27c0fdb1b.tar.gz
abslibre-0174f5578fd28a78c48e99e1730fdae27c0fdb1b.tar.bz2
abslibre-0174f5578fd28a78c48e99e1730fdae27c0fdb1b.zip
Adding packages to pcr
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