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>
Sat, 4 Dec 2021 04:03:33 +0000 (04:03 +0000)
commitcc2b2d8b6103e1e7d739e30a457629be3e261e25
treec894fbb1f578aa4344d0a581f37f8f048d4d6656
parent2c917fee6bd1c7386fd0d201fd86717bcbd847e0
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