dbb420f79e
Co-authored-by: AlteredCoder Co-authored-by: erenJag
14 lines
392 B
Desktop File
14 lines
392 B
Desktop File
[Unit]
|
|
Description=Crowdsec agent
|
|
After=syslog.target network.target remote-fs.target nss-lookup.target
|
|
|
|
[Service]
|
|
Type=notify
|
|
PIDFile=/var/run/crowdsec.pid
|
|
ExecStartPre=/usr/local/bin/crowdsec -c /etc/crowdsec/config.yaml -t
|
|
ExecStart=/usr/local/bin/crowdsec -c /etc/crowdsec/config.yaml
|
|
#ExecStartPost=/bin/sleep 0.1
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|