Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | [Unit] |
2 | Description=Lightweight UPnP IGD daemon | ||||
3 | Documentation=man:miniupnpd(8) | ||||
4 | After=network.target | ||||
5 | |||||
6 | [Service] | ||||
7 | Type=forking | ||||
8 | ExecStartPre=/etc/miniupnpd/iptables_init.sh | ||||
9 | ExecStart=/usr/sbin/miniupnpd -f /etc/miniupnpd/miniupnpd.conf | ||||
10 | ExecStopPost=/etc/miniupnpd/iptables_removeall.sh | ||||
11 | PIDFile=/run/miniupnpd.pid | ||||
12 | |||||
13 | [Install] | ||||
14 | WantedBy=network.target |