iptables/etc/systemd/system/iptables.service

14 lines
252 B
SYSTEMD
Raw Normal View History

2021-02-04 22:19:22 -05:00
[Unit]
Description=iptables firewall service
After=network.target
[Service]
Type=oneshot
ExecStart=/etc/iptables/service.sh start
RemainAfterExit=true
ExecStop=/etc/iptables/service.sh stop
StandardOutput=journal
[Install]
WantedBy=multi-user.target