github.com/crowdsecurity/crowdsec@v1.6.1/debian/crowdsec.service (about)

     1  [Unit]
     2  Description=Crowdsec agent
     3  After=syslog.target network.target remote-fs.target nss-lookup.target
     4  
     5  [Service]
     6  Type=notify
     7  Environment=LC_ALL=C LANG=C
     8  ExecStartPre=/usr/bin/crowdsec -c /etc/crowdsec/config.yaml -t -error
     9  ExecStart=/usr/bin/crowdsec -c /etc/crowdsec/config.yaml
    10  #ExecStartPost=/bin/sleep 0.1
    11  ExecReload=/usr/bin/crowdsec -c /etc/crowdsec/config.yaml -t -error
    12  ExecReload=/bin/kill -HUP $MAINPID
    13  Restart=always
    14  RestartSec=60
    15  
    16  [Install]
    17  WantedBy=multi-user.target