update rpm patch to allow build again (#1388)
Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
This commit is contained in:
parent
caf1dc71fb
commit
2c4edac28b
|
@ -1,12 +1,13 @@
|
||||||
--- config/crowdsec.service-orig 2021-06-29 09:35:15.945984145 +0200
|
--- config/crowdsec.service-orig 2022-03-24 09:46:16.581681532 +0000
|
||||||
+++ config/crowdsec.service 2021-06-29 09:35:45.338024681 +0200
|
+++ config/crowdsec.service 2022-03-24 09:46:28.761681532 +0000
|
||||||
@@ -5,9 +5,9 @@
|
@@ -5,8 +5,8 @@
|
||||||
[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
|
||||||
-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
|
||||||
+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
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ Index: crowdsec/wizard.sh
|
||||||
-TMP_ACQUIS_FILE="tmp-acquis.yaml"
|
-TMP_ACQUIS_FILE="tmp-acquis.yaml"
|
||||||
ACQUIS_TARGET="${ACQUIS_PATH}/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 @@
|
@@ -265,30 +264,30 @@
|
||||||
shift
|
shift
|
||||||
local files=("${@}")
|
local files=("${@}")
|
||||||
|
|
Loading…
Reference in a new issue