Also fix service file to look in the right place
This commit is contained in:
parent
58963c8af1
commit
a99019a63f
@ -8,8 +8,8 @@ Before=network-pre.target
|
|||||||
Type=oneshot
|
Type=oneshot
|
||||||
ProtectSystem=full
|
ProtectSystem=full
|
||||||
ProtectHome=true
|
ProtectHome=true
|
||||||
ExecStart=/sbin/nft -f /etc/nftables.conf
|
ExecStart=/sbin/nft -f /etc/sysconfig/nftables.conf
|
||||||
ExecReload=/sbin/nft 'flush ruleset; include "/etc/nftables.conf";'
|
ExecReload=/sbin/nft 'flush ruleset; include "/etc/sysconfig/nftables.conf";'
|
||||||
ExecStop=/sbin/nft flush ruleset
|
ExecStop=/sbin/nft flush ruleset
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user