[Unit] Description=mcs-primproc PartOf=mcs-workernode.service PartOf=mcs-controllernode.service After=mcs-controllernode.service [Service] Type=simple ExecStart=/usr/bin/env bash -c "LD_PRELOAD=$(ldconfig -p | grep -m1 libjemalloc | awk '{print $1}') exec @ENGINE_BINDIR@/PrimProc" ExecStartPost=/bin/sleep 2 Restart=on-failure TimeoutStopSec=2