Skip to content
Snippets Groups Projects
Commit cb548979 authored by Jupiter Hu's avatar Jupiter Hu
Browse files

fixed the slurmcontrol node service command

parent 67ff7951
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,11 @@
{% endif %}
{% endif %}
{% if ansible_os_family == 'RedHat' and ansible_distribution_version >= '7' %}
{% if slurmctrl == inventory_hostname %}
systemctl restart slurmctld
{% else %}
systemctl restart slurmd
{% endif %}
{% else %}
postrotate /etc/init.d/slurm reconfig
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment