summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Zoffoli <xmerlin@gentoo.org>2005-03-23 02:07:13 +0000
committerChristian Zoffoli <xmerlin@gentoo.org>2005-03-23 02:07:13 +0000
commit9430027ad9377918d9782613452510240b7e2f66 (patch)
tree07d08844fec56c1fc5d7b47ad4501c6c846092fc /sys-cluster/ccs
parentuse doicon (diff)
downloadgentoo-2-9430027ad9377918d9782613452510240b7e2f66.tar.gz
gentoo-2-9430027ad9377918d9782613452510240b7e2f66.tar.bz2
gentoo-2-9430027ad9377918d9782613452510240b7e2f66.zip
added better process handling in init (now ccsd stops without problems)
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-cluster/ccs')
-rw-r--r--sys-cluster/ccs/ChangeLog5
-rwxr-xr-xsys-cluster/ccs/files/ccsd.rc8
2 files changed, 8 insertions, 5 deletions
diff --git a/sys-cluster/ccs/ChangeLog b/sys-cluster/ccs/ChangeLog
index a9d3086c84d8..622cc0d3f79d 100644
--- a/sys-cluster/ccs/ChangeLog
+++ b/sys-cluster/ccs/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-cluster/ccs
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ccs/ChangeLog,v 1.9 2005/03/22 13:46:02 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ccs/ChangeLog,v 1.10 2005/03/23 02:07:13 xmerlin Exp $
+
+ 23 Mar 2005; Christian Zoffoli <xmerlin@gentoo.org> files/ccsd.rc:
+ added better process handling in init (now ccsd stops without problems)
22 Mar 2005; Christian Zoffoli <xmerlin@gentoo.org> files/ccsd.conf,
files/ccsd.rc:
diff --git a/sys-cluster/ccs/files/ccsd.rc b/sys-cluster/ccs/files/ccsd.rc
index 54cb72890af6..d736326b84c6 100755
--- a/sys-cluster/ccs/files/ccsd.rc
+++ b/sys-cluster/ccs/files/ccsd.rc
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ccs/files/ccsd.rc,v 1.3 2005/03/22 13:46:02 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ccs/files/ccsd.rc,v 1.4 2005/03/23 02:07:13 xmerlin Exp $
depend() {
use net
@@ -9,19 +9,19 @@ depend() {
}
exefile=/sbin/ccsd
-pidfile=/var/run/ccsd.pid
start() {
ebegin "Starting ccsd"
start-stop-daemon --start --quiet \
--exec ${exefile} -- ${CCSD_OPTS}
- sleep 1s
+ sleep 2s
eend $?
}
stop() {
ebegin "Stopping ccsd"
- start-stop-daemon --stop --quiet --exec ${exefile} > /dev/null
+ start-stop-daemon --stop --quiet \
+ -s 9 --exec ${exefile}
eend $?
}