Blame slurm_service_files.patch

Philip Kovacs bff578
diff --git a/etc/slurmctld.service.in b/etc/slurmctld.service.in
Philip Kovacs 0865bd
index 6f175ad651..82a128ac0a 100644
Philip Kovacs bff578
--- a/etc/slurmctld.service.in
Philip Kovacs bff578
+++ b/etc/slurmctld.service.in
Philip Kovacs bff578
@@ -8,7 +8,7 @@ Type=forking
Philip Kovacs 9be8f2
 EnvironmentFile=-/etc/sysconfig/slurmctld
Philip Kovacs 9be8f2
 ExecStart=@sbindir@/slurmctld $SLURMCTLD_OPTIONS
Philip Kovacs 9be8f2
 ExecReload=/bin/kill -HUP $MAINPID
Philip Kovacs 9be8f2
-PIDFile=/var/run/slurmctld.pid
Philip Kovacs 9be8f2
+PIDFile=/var/run/slurm/slurmctld.pid
Philip Kovacs 0865bd
 LimitNOFILE=65536
Philip Kovacs bff578
 @SYSTEMD_TASKSMAX_OPTION@
Philip Kovacs 9be8f2
 
Philip Kovacs bff578
diff --git a/etc/slurmd.service.in b/etc/slurmd.service.in
Philip Kovacs 0865bd
index b36433dd7d..146b6574d2 100644
Philip Kovacs bff578
--- a/etc/slurmd.service.in
Philip Kovacs bff578
+++ b/etc/slurmd.service.in
Philip Kovacs bff578
@@ -8,7 +8,7 @@ Type=forking
Philip Kovacs 9be8f2
 EnvironmentFile=-/etc/sysconfig/slurmd
Philip Kovacs 9be8f2
 ExecStart=@sbindir@/slurmd $SLURMD_OPTIONS
Philip Kovacs 9be8f2
 ExecReload=/bin/kill -HUP $MAINPID
Philip Kovacs 9be8f2
-PIDFile=/var/run/slurmd.pid
Philip Kovacs 9be8f2
+PIDFile=/var/run/slurm/slurmd.pid
Philip Kovacs 9be8f2
 KillMode=process
Philip Kovacs 0865bd
 LimitNOFILE=131072
Philip Kovacs 9be8f2
 LimitMEMLOCK=infinity
Philip Kovacs bff578
diff --git a/etc/slurmdbd.service.in b/etc/slurmdbd.service.in
Philip Kovacs 0865bd
index c80feb9d7c..97a95c0e57 100644
Philip Kovacs bff578
--- a/etc/slurmdbd.service.in
Philip Kovacs bff578
+++ b/etc/slurmdbd.service.in
Philip Kovacs bff578
@@ -8,7 +8,7 @@ Type=forking
Philip Kovacs 9be8f2
 EnvironmentFile=-/etc/sysconfig/slurmdbd
Philip Kovacs 9be8f2
 ExecStart=@sbindir@/slurmdbd $SLURMDBD_OPTIONS
Philip Kovacs 9be8f2
 ExecReload=/bin/kill -HUP $MAINPID
Philip Kovacs 9be8f2
-PIDFile=/var/run/slurmdbd.pid
Philip Kovacs 9be8f2
+PIDFile=/var/run/slurm/slurmdbd.pid
Philip Kovacs 0865bd
 LimitNOFILE=65536
Philip Kovacs bff578
 @SYSTEMD_TASKSMAX_OPTION@
Philip Kovacs 9be8f2