diff --git a/debian/postinst b/debian/postinst index 55c5c1cf3..1d3860224 100644 --- a/debian/postinst +++ b/debian/postinst @@ -21,9 +21,6 @@ if [ "$1" = configure ]; then . /usr/share/crowdsec/wizard.sh -n if ! [[ -f /etc/crowdsec/config.yaml ]]; then - echo Creating crowdsec configuration in /etc/crowdsec - cp -a /usr/share/crowdsec/config/* /etc/crowdsec - echo Creating /etc/crowdsec/acquis.yaml set +e SILENT=true detect_services diff --git a/debian/rules b/debian/rules index 9201ba617..18ba25ad9 100755 --- a/debian/rules +++ b/debian/rules @@ -44,7 +44,7 @@ override_dh_auto_install: 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 - cp config/config.yaml debian/crowdsec/usr/share/crowdsec/config/config.yaml - cp config/simulation.yaml debian/crowdsec/usr/share/crowdsec/config/simulation.yaml - cp config/profiles.yaml debian/crowdsec/usr/share/crowdsec/config/profiles.yaml - cp -a config/patterns debian/crowdsec/usr/share/crowdsec/config + cp config/config.yaml debian/crowdsec/etc/crowdsec/config.yaml + cp config/simulation.yaml debian/crowdsec/etc/crowdsec/simulation.yaml + cp config/profiles.yaml debian/crowdsec/etc/crowdsec/profiles.yaml + cp -a config/patterns debian/crowdsec/etc/crowdsec