# Copyright (C) 2016-2021 McAfee, LLC. All Rights Reserved. [Unit] Description=Trellix Endpoint Security Platform for Linux Documentation=man:mfeespd(8) [Service] Type=simple Environment=LANG=C LC_CTYPE=C ExecStartPre=/opt/McAfee/ens/esp/scripts/prepare-mfeesp.sh systemd ExecStart=/opt/McAfee/ens/esp/bin/mfeespd ExecStartPost=/bin/sleep 2 Restart=on-failure RestartSec=5 # StartLimitInterval must be greater than '(RestartSec + sleep in ExecStartPost) * StartLimitBurst' # otherwise the service will be restarted indefinitely StartLimitInterval=40 StartLimitBurst=5 [Install] WantedBy=multi-user.target