projects
/
shutils.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add iptables systemd units
[shutils.git]
/
systemd
/
iptables.service
1
[Unit]
2
Description=iptables
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