summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster/slurm/files')
-rw-r--r--sys-cluster/slurm/files/slurmctld.initd4
-rw-r--r--sys-cluster/slurm/files/slurmd.initd4
-rw-r--r--sys-cluster/slurm/files/slurmdbd.initd4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys-cluster/slurm/files/slurmctld.initd b/sys-cluster/slurm/files/slurmctld.initd
index 0ebba3ea8616..133aaa62923d 100644
--- a/sys-cluster/slurm/files/slurmctld.initd
+++ b/sys-cluster/slurm/files/slurmctld.initd
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/slurm/files/slurmctld.initd,v 1.1 2011/07/03 23:23:21 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/slurm/files/slurmctld.initd,v 1.2 2011/07/04 10:15:30 alexxy Exp $
opts="reload"
@@ -41,6 +41,6 @@ stop() {
reload() {
ebegin "Reloading slurm daemon configuration"
- killproc slurmctld -HUP
+ start-stop-daemon --signal HUP --pidfile /var/run/slurm/slurmctld.pid
eend $?
}
diff --git a/sys-cluster/slurm/files/slurmd.initd b/sys-cluster/slurm/files/slurmd.initd
index 03d7de0d76cb..a1a4be242759 100644
--- a/sys-cluster/slurm/files/slurmd.initd
+++ b/sys-cluster/slurm/files/slurmd.initd
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/slurm/files/slurmd.initd,v 1.2 2011/07/04 07:51:12 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/slurm/files/slurmd.initd,v 1.3 2011/07/04 10:15:30 alexxy Exp $
opts="reload"
@@ -41,6 +41,6 @@ stop() {
reload() {
ebegin "Reloading slurm daemon configuration"
- killproc slurmd -HUP
+ start-stop-daemon --signal HUP --pidfile /var/run/slurm/slurmd.pid
eend $?
}
diff --git a/sys-cluster/slurm/files/slurmdbd.initd b/sys-cluster/slurm/files/slurmdbd.initd
index 6d3a97a54385..c8512c516293 100644
--- a/sys-cluster/slurm/files/slurmdbd.initd
+++ b/sys-cluster/slurm/files/slurmdbd.initd
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/slurm/files/slurmdbd.initd,v 1.1 2011/07/03 23:23:21 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/slurm/files/slurmdbd.initd,v 1.2 2011/07/04 10:15:30 alexxy Exp $
opts="reload"
@@ -39,6 +39,6 @@ stop() {
reload() {
ebegin "Reloading slurmdb daemon configuration"
- killproc slurmdbd -HUP
+ start-stop-daemon --signal HUP --pidfile /var/run/slurm/slurmdbd.pid
eend $?
}