Fix unit file after modification (#2395)
* fix service file for rpm packages build
This commit is contained in:
parent
a18df9c3bb
commit
2cb7b0bee6
2
debian/crowdsec.service
vendored
2
debian/crowdsec.service
vendored
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue