File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 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:
1515override_dh_auto_build :
1616override_dh_auto_install :
1717 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
2020 mkdir -p debian/crowdsec-custom-bouncer/etc/systemd/system/
2121 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
2323 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}
3535
3636%install
3737rm -rf %{buildroot }
38- mkdir -p %{buildroot }/usr/sbin
38+ mkdir -p %{buildroot }/usr/bin
3939install -m 755 -D %{name } %{buildroot }%{_bindir }/%{name }
4040install -m 600 -D config/%{name }.yaml %{buildroot }/etc/crowdsec/bouncers/%{name }.yaml
4141install -m 644 -D config/%{name }.service %{buildroot }%{_unitdir }/%{name }.service
You can’t perform that action at this time.
0 commit comments