Hi. I have some problem with autostart slurmctld service. The service
needs mariadb works before.
I fixed it. Inster this line into
/usr/lib/systemd/system/slurmctld.service
[Unit]
Description=Slurm controller daemon
After=network.target */mariadb.service slurmdbd.service/*
ConditionPathExists=/etc/slurm/slurm.conf
[Service]
Type=forking
EnvironmentFile=-/etc/sysconfig/slurmctld
ExecStart=/usr/sbin/slurmctld $SLURMCTLD_OPTIONS
ExecReload=/bin/kill -HUP $MAINPID
PIDFile=/var/run/slurmctld.pid
[Install]
WantedBy=multi-user.target
And its works!!
--
Este correo y sus archivos asociados son privados y confidenciales y va
dirigido exclusivamente a su destinatario. Si recibe este correo sin ser el
destinatario del mismo, le rogamos proceda a su eliminación y lo ponga en
conocimiento del emisor. La difusión por cualquier medio del contenido de
este correo podría ser sancionada conforme a lo previsto en las leyes
españolas. No se autoriza la utilización con fines comerciales o para su
incorporación a ficheros automatizados de las direcciones del emisor o del
destinatario .
This mail and its attached files are confidential and are exclusively
intended to their addressee. In case you may receive this mail not being
its addressee, we beg you to let us know the error by reply and to proceed
to delete it. The circulation by any mean of this mail could be penalised
in accordance with the Spanish legislation. The use of both the transmitter
and the addressee’s address with a commercial aim, or in order to be
incorporated to automated files, is not authorised.