Commit 4f81835 1 parent 15856e1 commit 4f81835 Copy full SHA for 4f81835
File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,9 @@ override_dh_auto_test:
15
15
override_dh_auto_build :
16
16
override_dh_auto_install :
17
17
make
18
- mkdir -p debian/crowdsec-custom-bouncer/usr/sbin
19
- cp crowdsec-custom-bouncer debian/crowdsec-custom-bouncer/usr/sbin
18
+ mkdir -p debian/crowdsec-custom-bouncer/usr/bin
19
+ cp crowdsec-custom-bouncer debian/crowdsec-custom-bouncer/usr/bin
20
20
mkdir -p debian/crowdsec-custom-bouncer/etc/systemd/system/
21
21
mkdir -p debian/crowdsec-custom-bouncer/etc/crowdsec/bouncers/
22
- BIN=/sbin /crowdsec-custom-bouncer CFG=/etc/crowdsec/bouncers envsubst < config/crowdsec-custom-bouncer.service > debian/crowdsec-custom-bouncer/etc/systemd/system/crowdsec-custom-bouncer.service
22
+ BIN=/usr/bin /crowdsec-custom-bouncer CFG=/etc/crowdsec/bouncers envsubst < config/crowdsec-custom-bouncer.service > debian/crowdsec-custom-bouncer/etc/systemd/system/crowdsec-custom-bouncer.service
23
23
cp config/crowdsec-custom-bouncer.yaml debian/crowdsec-custom-bouncer/etc/crowdsec/bouncers/
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ rm ${TMP}
35
35
36
36
%install
37
37
rm -rf %{buildroot }
38
- mkdir -p %{buildroot }/usr/sbin
38
+ mkdir -p %{buildroot }/usr/bin
39
39
install -m 755 -D %{name } %{buildroot }%{_bindir }/%{name }
40
40
install -m 600 -D config/%{name }.yaml %{buildroot }/etc/crowdsec/bouncers/%{name }.yaml
41
41
install -m 644 -D config/%{name }.service %{buildroot }%{_unitdir }/%{name }.service
You can’t perform that action at this time.
0 commit comments