Skip to content
Snippets Groups Projects
Commit cbdc0cbf authored by Trung Nguyen's avatar Trung Nguyen
Browse files

Merge branch 'fix-slurmdbd-logs-b' into 'master'

Use SIGUSR2 instead

See merge request hpc-team/ansible_cluster_in_a_box!277
parents 4f0ae635 1eee0c13
No related branches found
No related tags found
1 merge request!277Use SIGUSR2 instead
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
create 640 slurm root create 640 slurm root
{% if ansible_os_family == 'RedHat' and ansible_distribution_version >= '7' %} {% if ansible_os_family == 'RedHat' and ansible_distribution_version >= '7' %}
postrotate postrotate
systemctl kill -s HUP --kill-who=main slurmdbd pkill -x --signal SIGUSR2 slurmdbd
{% else %} {% else %}
postrotate /etc/init.d/slurmdbd reconfig postrotate /etc/init.d/slurmdbd reconfig
{% endif %} {% 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