crowdsecurity / pfSense-pkg-crowdsec

51 stars 2 forks source link

improve / verify service management #1

Closed mmetc closed 1 year ago

mmetc commented 1 year ago

What's the proper way to start/stop crowdsec services?

We are currently using "service crowdsec/crowdsec_firewall enable/disable/start/stop" which is vanilla freebsd and seems to work but

julienloizelet commented 1 year ago

Note: when we run "service crowdsec start" while saving the settings, it does not work as expected: there is a syslog message : The command 'service crowdsec start' returned exit code '1', the output was 'crowdsec already running? Thus, service is not restarted with the modified yaml files.

julienloizelet commented 1 year ago

Related: https://github.com/crowdsecurity/pfSense-pkg-crowdsec/issues/43

mmetc commented 1 year ago

should be fixed in https://github.com/crowdsecurity/pfSense-pkg-crowdsec/pull/52