]> git.sthu.org Git - shutils.git/blob - systemd/iptables.service
systemd: Update service files
[shutils.git] / systemd / iptables.service
1 [Unit]
2 Description=Store and restore iptables rules
3 Before=network.target
4
5 [Service]
6 Type=oneshot
7 RemainAfterExit=yes
8 EnvironmentFile=/etc/conf.d/iptables
9 ExecStart=/sbin/iptables-restore ${SAVE_RESTORE_OPTIONS} ${IPTABLES_SAVE}
10 ExecStop=/sbin/iptables-save ${SAVE_RESTORE_OPTIONS} ${IPTABLES_SAVE}
11
12 [Install]
13 WantedBy=multi-user.target