Projet

Général

Profil

Révision b4558e94

IDb4558e94910165c7fc4a3be16c78774b7e974ec7
Parent 26cdcbbd
Enfant 08f77750

Ajouté par Kienan Stewart il y a plus de 4 ans

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.

Voir les différences:

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