crowdsec/config/crowdsec.service

15 lines
347 B
SYSTEMD
Raw Normal View History

2020-05-15 09:39:16 +00:00
[Unit]
Description=Crowdwatch agent
After=syslog.target network.target remote-fs.target nss-lookup.target
[Service]
Type=forking
PIDFile=${PID}/crowdsec.pid
#ExecStartPre=${BIN} -c ${CFG}/default.yaml -t
2020-05-15 09:39:16 +00:00
ExecStart=${BIN} -c ${CFG}/default.yaml
ExecStartPost=/bin/sleep 0.1
ExecReload=/bin/kill -HUP $MAINPID
2020-05-15 09:39:16 +00:00
[Install]
WantedBy=multi-user.target