Skip to content

Commit

Permalink
enable systemctl service
Browse files Browse the repository at this point in the history
  • Loading branch information
AlteredCoder committed Dec 14, 2021
1 parent 8f4a8ee commit d863aad
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 d863aad

Please sign in to comment.