1 2 3 4 5 6 7 8 9 10 11 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