2021-06-04 07:27:49 +02:00
|
|
|
[Service]
|
2021-08-07 07:01:00 +02:00
|
|
|
RemainAfterExit=yes
|
|
|
|
|
2021-06-04 07:27:49 +02: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 14:07:08 +01:00
|
|
|
|
2022-03-13 14:13:59 +01:00
|
|
|
% if node.os != 'debian' or node.os_version[0] > 10:
|
2022-03-13 14:07:08 +01:00
|
|
|
Restart=on-failure
|
|
|
|
RestartSec=2
|
2022-03-13 14:13:59 +01:00
|
|
|
% endif
|