[Unit] Description=Slurm controller daemon Before=slurmackd.service Conflicts=slurmackd.service After=network-online.target munge.service Wants=network-online.target [Service] Type=forking User=slurm Group=slurm StateDirectory=slurmctld RuntimeDirectory=slurmctld EnvironmentFile=-/etc/default/slurmctld ExecStartPre=-!/etc/slurm/systemd-helper.sh -g staff $HELPERARGS ExecStartPost=!/etc/slurm/systemd-helper.sh -g staff -p $HELPERARGS ExecStart=/usr/sbin/slurmctld -s $ARGS ExecReload=/bin/kill -HUP $MAINPID LimitNOFILE=65536 TasksMax=infinity PIDFile=%t/slurmctld/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/slurmctld/svc.log [Install] WantedBy=multi-user.target