We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65b8847 commit da567fdCopy full SHA for da567fd
debian/prerm
@@ -2,7 +2,7 @@
2
3
set -eu
4
5
-BOUNCER="crowdsec-haproxy-spoa-bouncer"
+BOUNCER="crowdsec-spoa-bouncer"
6
7
systemctl stop "$BOUNCER" || echo "cannot stop service"
8
systemctl disable "$BOUNCER" || echo "cannot disable service"
rpm/SPECS/crowdsec-haproxy-spoa-bouncer.spec
@@ -144,6 +144,6 @@ fi
144
%postun
145
146
if [ "$1" == "1" ] ; then
147
- systemctl restart %{name} || echo "cannot restart service"
+ systemctl restart "$SERVICE" || echo "cannot restart service"
148
fi
149
0 commit comments