Skip to content

Commit

Permalink
Merge pull request #96 from crowdsecurity/enable_systemctl_service
Browse files Browse the repository at this point in the history
debian package: enable systemctl service
  • Loading branch information
AlteredCoder authored Dec 15, 2021
2 parents 8f4a8ee + d863aad commit 3c357e5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions debian/crowdsec-firewall-bouncer-nftables.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ else
START=1
fi



systemctl --quiet is-enabled crowdsec-firewall-bouncer || systemctl unmask crowdsec-firewall-bouncer && systemctl enable crowdsec-firewall-bouncer

if [ ${START} -eq 0 ] ; then
echo "no api key was generated, won't start service"
Expand Down

0 comments on commit 3c357e5

Please sign in to comment.