diff options
author | Jodok Batlogg <batlogg@gentoo.org> | 2004-10-25 14:36:24 +0000 |
---|---|---|
committer | Jodok Batlogg <batlogg@gentoo.org> | 2004-10-25 14:36:24 +0000 |
commit | 6d90e9de1855c7bcb7882813927a8b2e1ea9c7de (patch) | |
tree | 663a2fde497272142b2faba564149b92ebc6ef49 /net-zope/zope | |
parent | I really need to learn how to spell (diff) | |
download | gentoo-2-6d90e9de1855c7bcb7882813927a8b2e1ea9c7de.tar.gz gentoo-2-6d90e9de1855c7bcb7882813927a8b2e1ea9c7de.tar.bz2 gentoo-2-6d90e9de1855c7bcb7882813927a8b2e1ea9c7de.zip |
reload needs to call zope restart
Diffstat (limited to 'net-zope/zope')
-rw-r--r-- | net-zope/zope/ChangeLog | 6 | ||||
-rw-r--r-- | net-zope/zope/files/2.7.2/zope.initd | 16 | ||||
-rw-r--r-- | net-zope/zope/files/2.7.3/zope.initd | 7 |
3 files changed, 13 insertions, 16 deletions
diff --git a/net-zope/zope/ChangeLog b/net-zope/zope/ChangeLog index 4626bc33d6c6..61eec4829866 100644 --- a/net-zope/zope/ChangeLog +++ b/net-zope/zope/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-zope/zope # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.53 2004/10/25 07:27:13 batlogg Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.54 2004/10/25 14:36:24 batlogg Exp $ + + 25 Oct 2004; Jodok Batlogg <batlogg@gentoo.org>; files/2.7.2/zope.initd, + files/2.7.3/zope.initd: + reload needs to call zope's restart *zope-2.7.3 (24 Oct 2004) diff --git a/net-zope/zope/files/2.7.2/zope.initd b/net-zope/zope/files/2.7.2/zope.initd index c4173e4e5ae5..f7bde1bcb606 100644 --- a/net-zope/zope/files/2.7.2/zope.initd +++ b/net-zope/zope/files/2.7.2/zope.initd @@ -1,9 +1,9 @@ #!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/files/2.7.2/zope.initd,v 1.4 2004/09/28 01:46:11 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/files/2.7.2/zope.initd,v 1.5 2004/10/25 14:36:24 batlogg Exp $ -opts="start stop restart kill quit status help" +opts="start stop reload kill quit status help" depend() { need net @@ -21,13 +21,6 @@ stop() { eend $? } -restart() { - ebegin "Restarting Zope in INSTANCE_HOME" - svc_stop - svc_start - eend $? -} - kill() { ebegin "Killing Zope in INSTANCE_HOME" INSTANCE_HOME/bin/zopectl kill @@ -41,9 +34,8 @@ quit() { } reload() { - # throws an error, dunno why - ebegin "Reloading Zope config in INSTANCE_HOME" - INSTANCE_HOME/bin/zopectl reload + ebegin "Restarting Zope config in INSTANCE_HOME" + INSTANCE_HOME/bin/zopectl restart eend $? } diff --git a/net-zope/zope/files/2.7.3/zope.initd b/net-zope/zope/files/2.7.3/zope.initd index 3df94f0e19bf..d825eaac98f1 100644 --- a/net-zope/zope/files/2.7.3/zope.initd +++ b/net-zope/zope/files/2.7.3/zope.initd @@ -1,9 +1,9 @@ #!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/files/2.7.3/zope.initd,v 1.1 2004/10/25 07:27:13 batlogg Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/files/2.7.3/zope.initd,v 1.2 2004/10/25 14:36:24 batlogg Exp $ -opts="start stop restart kill quit status help" +opts="start stop reload kill quit status help" depend() { need net @@ -21,7 +21,8 @@ stop() { eend $? } -restart() { +reload() { + # note: reload calls zope restart, runscript restart stops and starts ebegin "Restarting Zope in INSTANCE_HOME" INSTANCE_HOME/bin/zopectl restart eend $? |