diff --git a/debian/install b/debian/install new file mode 100644 index 000000000..e92b76baa --- /dev/null +++ b/debian/install @@ -0,0 +1,11 @@ +config/config.yaml etc/crowdsec/ +config/profiles.yaml etc/crowdsec/ +config/simulation.yaml etc/crowdsec/ + +config/patterns/* etc/crowdsec/patterns +config/crowdsec.service lib/systemd/system + +# Referenced configs: +plugins/notifications/slack/slack.yaml etc/crowdsec/notifications/ +plugins/notifications/http/http.yaml etc/crowdsec/notifications/ +plugins/notifications/splunk/splunk.yaml debian/crowdsec/etc/crowdsec/notifications/ diff --git a/debian/rules b/debian/rules index c48388b5b..d5c7c3654 100755 --- a/debian/rules +++ b/debian/rules @@ -37,10 +37,6 @@ override_dh_auto_install: install -m 551 plugins/notifications/http/notification-http debian/crowdsec/usr/lib/crowdsec/plugins/ install -m 551 plugins/notifications/splunk/notification-splunk debian/crowdsec/usr/lib/crowdsec/plugins/ - cp plugins/notifications/slack/slack.yaml debian/crowdsec/etc/crowdsec/notifications/ - cp plugins/notifications/http/http.yaml debian/crowdsec/etc/crowdsec/notifications/ - cp plugins/notifications/splunk/splunk.yaml debian/crowdsec/etc/crowdsec/notifications/ - cp cmd/crowdsec/crowdsec debian/crowdsec/usr/bin cp cmd/crowdsec-cli/cscli debian/crowdsec/usr/bin cp wizard.sh debian/crowdsec/usr/share/crowdsec @@ -49,3 +45,4 @@ override_dh_auto_install: cp config/profiles.yaml debian/crowdsec/etc/crowdsec/profiles.yaml cp config/console.yaml debian/crowdsec/etc/crowdsec/console.yaml cp -a config/patterns debian/crowdsec/etc/crowdsec +