Skip to content
Snippets Groups Projects
Commit 9d413f09 authored by Andreas Hamacher's avatar Andreas Hamacher
Browse files

fixing hostgroups

parent f713356e
No related branches found
No related tags found
1 merge request!470fixing hostgroups
{% if (slurmctrl == inventory_hostname) or (slurmctrlbackup == inventory_hostname) %}
{% if hostgroup == 'ManagementNodes' %}
{{ slurmctlddebug.log }}
{% else %}
{{ slurmddebug.log }}
......@@ -18,9 +18,8 @@
create 640 slurm root
# documentation to be found at https://slurm.schedmd.com/slurm.conf.html section Logging
postrotate
{% if (slurmctrl == inventory_hostname) or (slurmctrlbackup == inventory_hostname) %}
{% if hostgroup == 'ManagementNodes' %}
pkill -x --signal SIGUSR2 slurmctld
pkill -x --signal SIGUSR2 slurmdbd
{% else %}
pkill -x --signal SIGUSR2 slurmd
{% 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