Blame slurm_service_files.patch

Philip Kovacs bff578
diff --git a/etc/slurmctld.service.in b/etc/slurmctld.service.in
Philip Kovacs bff578
index ebf92b0da4..d13a653339 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 bff578
 @SYSTEMD_TASKSMAX_OPTION@
Philip Kovacs 9be8f2
 
Philip Kovacs 9be8f2
 [Install]
Philip Kovacs bff578
diff --git a/etc/slurmd.service.in b/etc/slurmd.service.in
Philip Kovacs bff578
index 2e20bb33a3..263bd8aa77 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 9be8f2
 LimitNOFILE=51200
Philip Kovacs 9be8f2
 LimitMEMLOCK=infinity
Philip Kovacs bff578
diff --git a/etc/slurmdbd.service.in b/etc/slurmdbd.service.in
Philip Kovacs bff578
index 5f8f73c7f1..a0aede6feb 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 bff578
 @SYSTEMD_TASKSMAX_OPTION@
Philip Kovacs 9be8f2
 
Philip Kovacs 9be8f2
 [Install]