summarylogtreecommitdiffstats
path: root/upnpd.service
diff options
context:
space:
mode:
authorVinícius dos Santos Oliveira2015-06-25 00:49:44 -0300
committerVinícius dos Santos Oliveira2015-06-25 00:49:44 -0300
commit6678ae4f4487dc0685d2bbaeedc63ed3007e997a (patch)
tree9687f074828c67028cc5e4548cd54167573e8ed0 /upnpd.service
downloadaur-linuxigd.tar.gz
Genesis commit
Diffstat (limited to 'upnpd.service')
-rw-r--r--upnpd.service19
1 files changed, 19 insertions, 0 deletions
diff --git a/upnpd.service b/upnpd.service
new file mode 100644
index 000000000000..060262d1e738
--- /dev/null
+++ b/upnpd.service
@@ -0,0 +1,19 @@
+# This service relies on a netcfg profile that adds a multicast route to the internal interface e.g.:
+# ...
+# IP=static
+# ADDR=192.168.0.1
+# ROUTES=('224.0.0.0/4 via 192.168.0.1')
+# ...
+# Adjust the interface names in ExecStart below to match your external and internal interfaces.
+
+[Unit]
+Description=Linux Internet Gateway Device
+Requires=network.service
+After=network.service
+
+[Service]
+EnvironmentFile=/etc/conf.d/upnpd
+ExecStart=/usr/sbin/upnpd -f $EXTERNAL_INTERFACE $INTERNAL_INTERFACE
+
+[Install]
+WantedBy=multi-user.target