Révision b4558e94
Use /usr/sbin for nft binary path in systemd service
/sbin in Debian Buster is a symbolic link to /usr/sbin; however,
in Debian Stretch it's a separate folder and the nft binary is
in /usr/sbin/nft. Note: this commit probably breaks support for
CentOS, but I'm not planning on requesting to merge this commit
or branch into the upstream master.
templates/systemd/puppet_nft.conf.epp | ||
---|---|---|
1 | 1 |
# Puppet Deployed |
2 | 2 |
[Service] |
3 | 3 |
ExecStart= |
4 |
ExecStart=/sbin/nft -I /etc/nftables/puppet -f <%= $nftables_configuration_path %> |
|
4 |
ExecStart=/usr/sbin/nft -I /etc/nftables/puppet -f <%= $nftables_configuration_path %>
|
|
5 | 5 |
ExecReload= |
6 |
ExecReload=/sbin/nft -I /etc/nftables/puppet -f <%= $nftables_configuration_path %> |
|
6 |
ExecReload=/usr/sbin/nft -I /etc/nftables/puppet -f <%= $nftables_configuration_path %>
|
|
7 | 7 |
|
Formats disponibles : Unified diff