14 lines
312 B
SYSTEMD
14 lines
312 B
SYSTEMD
|
[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
|
||
|
ExecStart=${BIN} -c ${CFG}/default.yaml
|
||
|
ExecStartPost=/bin/sleep 0.1
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|