iptables-helper/iptables-helper.service

12 lines
244 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Iptables Helper
After=network.target
[Service]
Environment="HOME=/root"
ExecStartPre=iptables-restore /etc/iptables.rule
ExecStart=/opt/iptables-helper/iptables-helper
Restart=on-failure
[Install]
WantedBy=multi-user.target