14 lines
339 B
Plaintext
14 lines
339 B
Plaintext
|
[Unit]
|
||
|
Description=Iptables firewall rules
|
||
|
Documentation=man:iptables(8)
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
RemainAfterExit=yes
|
||
|
ExecStart=/bin/bash -c "/sbin/iptables-service start"
|
||
|
ExecReload=/bin/bash -c "/sbin/iptables-service restart"
|
||
|
ExecStop=/bin/bash -c "/sbin/iptables-service stop"
|
||
|
StandardOutput=syslog
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|