Merge branch 'master' into coraza_poc_acquis

This commit is contained in:
blotus 2023-07-31 17:05:42 +02:00 committed by GitHub
commit e381d85314
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@ After=syslog.target network.target remote-fs.target nss-lookup.target
[Service] [Service]
Type=notify Type=notify
Environment=LC_ALL=C LANG=C Environment=LC_ALL=C LANG=C
ExecStartPre=/usr/bin/crowdsec -c /etc/crowdsec/config.yaml -t ExecStartPre=/usr/bin/crowdsec -c /etc/crowdsec/config.yaml -t -error
ExecStart=/usr/bin/crowdsec -c /etc/crowdsec/config.yaml ExecStart=/usr/bin/crowdsec -c /etc/crowdsec/config.yaml
#ExecStartPost=/bin/sleep 0.1 #ExecStartPost=/bin/sleep 0.1
ExecReload=/bin/kill -HUP $MAINPID ExecReload=/bin/kill -HUP $MAINPID

View file

@ -4,9 +4,9 @@
[Service] [Service]
Type=notify Type=notify
Environment=LC_ALL=C LANG=C Environment=LC_ALL=C LANG=C
-ExecStartPre=/usr/local/bin/crowdsec -c /etc/crowdsec/config.yaml -t -ExecStartPre=/usr/local/bin/crowdsec -c /etc/crowdsec/config.yaml -t -error
-ExecStart=/usr/local/bin/crowdsec -c /etc/crowdsec/config.yaml -ExecStart=/usr/local/bin/crowdsec -c /etc/crowdsec/config.yaml
+ExecStartPre=/usr/bin/crowdsec -c /etc/crowdsec/config.yaml -t +ExecStartPre=/usr/bin/crowdsec -c /etc/crowdsec/config.yaml -t -error
+ExecStart=/usr/bin/crowdsec -c /etc/crowdsec/config.yaml +ExecStart=/usr/bin/crowdsec -c /etc/crowdsec/config.yaml
#ExecStartPost=/bin/sleep 0.1 #ExecStartPost=/bin/sleep 0.1
ExecReload=/bin/kill -HUP $MAINPID ExecReload=/bin/kill -HUP $MAINPID