Prefer `systemctl restart crowdsec` to `systemctl reload crowdsec`
authorCyril Brulebois <cyril@debamax.com>
Mon, 1 Mar 2021 20:40:04 +0000 (20:40 +0000)
committerCyril Brulebois <cyril@debamax.com>
Mon, 3 May 2021 07:29:06 +0000 (08:29 +0100)
commitbfa5c248f91e7644ac35884761c3ac695a34e93d
tree47b290725a6f87c63b61e4c3eef5d394824e2a5a
parent17dffc0539b098322710aa2b4f2c8f4bd3ff134b
Prefer `systemctl restart crowdsec` to `systemctl reload crowdsec`

As of version 1.0.8, reloading doesn't work due to failures to reopen
the database:
  https://github.com/crowdsecurity/crowdsec/issues/656

Until this is fixed, advertise `systemctl restart crowdsec` instead.

Signed-off-by: Cyril Brulebois <cyril@debamax.com>
Gbp-Pq: Name 0006-prefer-systemctl-restart.patch
cmd/crowdsec-cli/capi.go
cmd/crowdsec-cli/collections.go
cmd/crowdsec-cli/lapi.go
cmd/crowdsec-cli/parsers.go
cmd/crowdsec-cli/postoverflows.go
cmd/crowdsec-cli/scenarios.go
cmd/crowdsec-cli/simulation.go