Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions net/crowdsec-firewall-bouncer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ define Package/crowdsec-firewall-bouncer/install
$(call GoPackage/Package/Install/Bin,$(1))

$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) ./files/crowdsec.config $(1)/etc/config/crowdsec
$(INSTALL_CONF) ./files/crowdsec-firewall-bouncer.config $(1)/etc/config/crowdsec-firewall-bouncer

$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/crowdsec-firewall-bouncer.initd $(1)/etc/init.d/crowdsec-firewall-bouncer
endef

define Package/crowdsec-firewall-bouncer/conffiles
/etc/config/crowdsec
/etc/config/crowdsec-firewall-bouncer
endef

$(eval $(call GoBinPackage,crowdsec-firewall-bouncer))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ PROG=/usr/bin/cs-firewall-bouncer
VARCONFIGDIR=/var/etc/crowdsec/bouncers
VARCONFIG=/var/etc/crowdsec/bouncers/crowdsec-firewall-bouncer.yaml

CONFIGURATION=crowdsec
CONFIGURATION=crowdsec-firewall-bouncer

TABLE="crowdsec"
TABLE6="crowdsec6"

service_triggers() {
procd_add_reload_trigger crowdsec-firewall-bouncer
procd_add_config_trigger "config.change" "crowdsec" /etc/init.d/crowdsec-firewall-bouncer reload
procd_add_config_trigger "config.change" "crowdsec-firewall-bouncer" /etc/init.d/crowdsec-firewall-bouncer reload
}

init_yaml() {
Expand Down
Loading