summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2011-07-04 10:15:30 +0000
committerAlexey Shvetsov <alexxy@gentoo.org>2011-07-04 10:15:30 +0000
commit0e9f7b8e6cc192e5b630f9eccbd35e90b58e3b8b (patch)
tree680df1c7b481b67a4118c719183fc9505fc1e5dc /sys-cluster
parentVersion bump for Rails 3.0.9. (diff)
downloadgentoo-2-0e9f7b8e6cc192e5b630f9eccbd35e90b58e3b8b.tar.gz
gentoo-2-0e9f7b8e6cc192e5b630f9eccbd35e90b58e3b8b.tar.bz2
gentoo-2-0e9f7b8e6cc192e5b630f9eccbd35e90b58e3b8b.zip
[sys-cluster/slurm] Update init.d reload stuff
(Portage version: 2.2.0_alpha43/cvs/Linux x86_64)
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/slurm/ChangeLog6
-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
4 files changed, 11 insertions, 7 deletions
diff --git a/sys-cluster/slurm/ChangeLog b/sys-cluster/slurm/ChangeLog
index 630d410fe52c..2461abad1e8c 100644
--- a/sys-cluster/slurm/ChangeLog
+++ b/sys-cluster/slurm/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-cluster/slurm
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/slurm/ChangeLog,v 1.2 2011/07/04 07:51:12 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/slurm/ChangeLog,v 1.3 2011/07/04 10:15:30 alexxy Exp $
+
+ 04 Jul 2011; Alexey Shvetsov <alexxy@gentoo.org> files/slurmctld.initd,
+ files/slurmd.initd, files/slurmdbd.initd:
+ Update init.d reload stuff
04 Jul 2011; Alexey Shvetsov <alexxy@gentoo.org> slurm-2.2.7.ebuild,
files/slurmd.initd:
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 $?
}