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, 15 Mar 2021 00:19:43 +0000 (00:19 +0000)
commitc6254ba1022e0fad43faf10e8e1475073b4ca0e9
tree6b51285edb0202ddc858f69113ec2184ad45df65
parentd3f2181cd27d185886034e9955fa98edf4f6e90b
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