use flush instead of destroy in ipset everywhere
This commit is contained in:
parent
92f286bbd6
commit
3abbcbbd9e
|
@ -8,7 +8,7 @@ Type=oneshot
|
|||
RemainAfterExit=yes
|
||||
ExecStart=/sbin/ipset -f /etc/ipset.conf restore
|
||||
ExecReload=/sbin/ipset -f /etc/ipset.conf restore
|
||||
ExecStop=/sbin/ipset destroy
|
||||
ExecStop=/sbin/ipset flush
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
- name: Flush any existing ipsets
|
||||
shell:
|
||||
cmd: /sbin/ipset destroy
|
||||
cmd: /sbin/ipset flush
|
||||
|
||||
- name: Copy ipset.service
|
||||
copy:
|
||||
|
|
Loading…
Reference in New Issue