2020-05-15 09:39:16 +00:00
|
|
|
[Unit]
|
2020-11-30 09:37:17 +00:00
|
|
|
Description=Crowdsec agent
|
2020-05-15 09:39:16 +00:00
|
|
|
After=syslog.target network.target remote-fs.target nss-lookup.target
|
|
|
|
|
|
|
|
[Service]
|
2020-11-30 09:37:17 +00:00
|
|
|
Type=notify
|
2020-12-14 16:44:24 +00:00
|
|
|
Environment=LC_ALL=C LANG=C
|
2023-07-19 11:28:52 +00:00
|
|
|
ExecStartPre=/usr/local/bin/crowdsec -c /etc/crowdsec/config.yaml -t -error
|
2020-11-30 09:37:17 +00:00
|
|
|
ExecStart=/usr/local/bin/crowdsec -c /etc/crowdsec/config.yaml
|
|
|
|
#ExecStartPost=/bin/sleep 0.1
|
2024-02-26 12:44:40 +00:00
|
|
|
ExecReload=/usr/local/bin/crowdsec -c /etc/crowdsec/config.yaml -t -error
|
2020-06-19 11:57:44 +00:00
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
2022-12-28 09:13:05 +00:00
|
|
|
Restart=always
|
|
|
|
RestartSec=60
|
2020-05-15 09:39:16 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|