File crowdsec.service of Package crowdsec
[Unit] Description=Crowdsec agent After=syslog.target network.target remote-fs.target nss-lookup.target [Service] Type=notify Environment=LC_ALL=C LANG=C ExecStartPre=PLACEHOLDER_LIBEXEC/crowdsec/prepare-crowdsec ExecStart=/usr/bin/crowdsec -c /etc/crowdsec/config.yaml #ExecStartPost=/bin/sleep 0.1 ExecReload=PLACEHOLDER_LIBEXEC/crowdsec/prepare-crowdsec ExecReload=/bin/kill -HUP $MAINPID Restart=always RestartSec=60 # added automatically, for details please see # https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort ProtectHome=true PrivateDevices=true ProtectHostname=true ProtectClock=true ProtectKernelTunables=true ProtectKernelModules=true ProtectKernelLogs=true ProtectControlGroups=true RestrictRealtime=true # end of automatic additions [Install] WantedBy=multi-user.target