diff --git a/roles/slurm-common/templates/slurmlog.j2 b/roles/slurm-common/templates/slurmlog.j2
index 3e3d3e68e112f6124161654f5122a17195ed1c08..918616d184a99dce234a28082f23b6e3f685b5c7 100644
--- a/roles/slurm-common/templates/slurmlog.j2
+++ b/roles/slurm-common/templates/slurmlog.j2
@@ -1,6 +1,5 @@
-{% if slurmctrl == inventory_hostname %}
+{% if (slurmctrl == inventory_hostname) or (slurmctrlbackup == inventory_hostname) %}
 {{ slurmctlddebug.log }}
-{{ slurmschedlog.log }}
 {% else %}
 {{ slurmddebug.log }}
 {% endif %}
@@ -17,16 +16,15 @@
  sharedscripts 
  size=5M 
  create 640 slurm root 
-{% if ansible_os_family == 'RedHat' and ansible_distribution_version >= '7' %}
+ # documentation to be found at  https://slurm.schedmd.com/slurm.conf.html section Logging
  postrotate
-{% if slurmctrl == inventory_hostname %}
-  systemctl kill -s HUP --kill-who=main slurmctld
+{% if (slurmctrl == inventory_hostname) or (slurmctrlbackup == inventory_hostname) %}
+   pkill -x --signal SIGUSR2 slurmctld
+   pkill -x --signal SIGUSR2 slurmdbd
 {% else %}
-  systemctl kill -s HUP --kill-who=main slurmd
-{% endif %}
-{% else %}
- postrotate /etc/init.d/slurm reconfig 
+   pkill -x --signal SIGUSR2 slurmd
 {% endif %}
+   exit 0  
  endscript
 }