2021-06-04 05:27:49 +00:00
|
|
|
[Service]
|
2021-08-07 05:01:00 +00:00
|
|
|
RemainAfterExit=yes
|
|
|
|
|
2021-06-04 05:27:49 +00:00
|
|
|
ExecStart=
|
|
|
|
ExecStart=/usr/sbin/nft -f /etc/nftables.conf
|
|
|
|
ExecStart=/usr/local/sbin/apply-sysctl
|
|
|
|
|
|
|
|
ExecReload=
|
|
|
|
ExecReload=/usr/sbin/nft -f /etc/nftables.conf
|
|
|
|
ExecReload=/usr/local/sbin/apply-sysctl
|
2022-03-13 13:07:08 +00:00
|
|
|
|
2022-03-13 13:13:59 +00:00
|
|
|
% if node.os != 'debian' or node.os_version[0] > 10:
|
2022-03-13 13:07:08 +00:00
|
|
|
Restart=on-failure
|
|
|
|
RestartSec=2
|
2022-03-13 13:13:59 +00:00
|
|
|
% endif
|