[Unit] Description=Slurm node daemon Before=slurmackd.service Conflicts=slurmackd.service After=slurmctld.service munge.service network-online.target remote-fs.target Wants=network-online.target #ConditionPathExists=/etc/slurm/slurm.conf [Service] Type=forking StateDirectory=slurmd RuntimeDirectory=slurmd CacheDirectory=slurmd EnvironmentFile=-/etc/default/slurmd # The ! is redundant, but we keep it just in case we try out other things ;-) ExecStartPre=-!/etc/slurm/systemd-helper.sh -g staff $HELPERARGS ExecStartPost=!/etc/slurm/systemd-helper.sh -g staff -p $HELPERARGS ExecStart=/usr/sbin/slurmd -s $ARGS ExecReload=/bin/kill -HUP $MAINPID KillMode=process LimitNOFILE=131072 LimitMEMLOCK=infinity LimitSTACK=infinity Delegate=yes TasksMax=infinity PIDFile=%t/slurmd/main.pid # Only on startup/shutdown errors there should be some output. No need to apply # special care to it - can live with ending up in the journal junkyard. #StandardOutput=append:%L/slurmd/svc.log [Install] WantedBy=multi-user.target