Skip to content

Commit da567fd

Browse files
authored
fix packaging (#90)
1 parent 65b8847 commit da567fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

debian/prerm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -eu
44

5-
BOUNCER="crowdsec-haproxy-spoa-bouncer"
5+
BOUNCER="crowdsec-spoa-bouncer"
66

77
systemctl stop "$BOUNCER" || echo "cannot stop service"
88
systemctl disable "$BOUNCER" || echo "cannot disable service"

rpm/SPECS/crowdsec-haproxy-spoa-bouncer.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,6 @@ fi
144144
%postun
145145

146146
if [ "$1" == "1" ] ; then
147-
systemctl restart %{name} || echo "cannot restart service"
147+
systemctl restart "$SERVICE" || echo "cannot restart service"
148148
fi
149149

0 commit comments

Comments
 (0)