update rpm patch to allow build again (#1388)

Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
This commit is contained in:
Manuel Sabban 2022-03-24 12:42:40 +01:00 committed by GitHub
parent caf1dc71fb
commit 2c4edac28b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 6 deletions

View file

@ -1,12 +1,13 @@
--- config/crowdsec.service-orig 2021-06-29 09:35:15.945984145 +0200
+++ config/crowdsec.service 2021-06-29 09:35:45.338024681 +0200
@@ -5,9 +5,9 @@
--- config/crowdsec.service-orig 2022-03-24 09:46:16.581681532 +0000
+++ config/crowdsec.service 2022-03-24 09:46:28.761681532 +0000
@@ -5,8 +5,8 @@
[Service]
Type=notify
Environment=LC_ALL=C LANG=C
-ExecStartPre=/usr/local/bin/crowdsec -c /etc/crowdsec/config.yaml -t
-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
+ExecStart=/usr/bin/crowdsec -c /etc/crowdsec/config.yaml
#ExecStartPost=/bin/sleep 0.1
ExecReload=/bin/kill -HUP $MAINPID

View file

@ -10,7 +10,7 @@ Index: crowdsec/wizard.sh
-TMP_ACQUIS_FILE="tmp-acquis.yaml"
ACQUIS_TARGET="${ACQUIS_PATH}/acquis.yaml"
PID_DIR="${CROWDSEC_RUN_DIR}"
SYSTEMD_PATH_FILE="/etc/systemd/system/crowdsec.service"
@@ -265,30 +264,30 @@
shift
local files=("${@}")