diff options
author | Radoslaw Stachowiak <radek@gentoo.org> | 2005-12-24 16:35:35 +0000 |
---|---|---|
committer | Radoslaw Stachowiak <radek@gentoo.org> | 2005-12-24 16:35:35 +0000 |
commit | 356d33c1e69e96a2a410e15cc40b8d4638f425c5 (patch) | |
tree | 78c3c233888c9097733186989063a9f553ded42d /net-zope/zope/files | |
parent | Version bumped. (diff) | |
download | gentoo-2-356d33c1e69e96a2a410e15cc40b8d4638f425c5.tar.gz gentoo-2-356d33c1e69e96a2a410e15cc40b8d4638f425c5.tar.bz2 gentoo-2-356d33c1e69e96a2a410e15cc40b8d4638f425c5.zip |
new version, net-zope/zopex3 will be no longer maintained
(Portage version: 2.1_pre1)
Diffstat (limited to 'net-zope/zope/files')
-rw-r--r-- | net-zope/zope/files/digest-zope-3.1.0 | 1 | ||||
-rw-r--r-- | net-zope/zope/files/zope.initd | 17 |
2 files changed, 13 insertions, 5 deletions
diff --git a/net-zope/zope/files/digest-zope-3.1.0 b/net-zope/zope/files/digest-zope-3.1.0 new file mode 100644 index 000000000000..da477df5cb53 --- /dev/null +++ b/net-zope/zope/files/digest-zope-3.1.0 @@ -0,0 +1 @@ +MD5 7e4c383479753639cddb14e2914582eb Zope-3.1.0.tgz 4048336 diff --git a/net-zope/zope/files/zope.initd b/net-zope/zope/files/zope.initd index 191ef17c6c8e..bb796d47aa30 100644 --- a/net-zope/zope/files/zope.initd +++ b/net-zope/zope/files/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/zope.initd,v 1.1 2005/01/14 21:16:20 radek Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/files/zope.initd,v 1.2 2005/12/24 16:35:35 radek Exp $ -opts="start stop reload kill quit status help" +opts="start stop reload restart kill quit status help" depend() { need net @@ -21,10 +21,10 @@ stop() { eend $? } -reload() { - # note: reload calls zope restart, runscript restart stops and starts +restart() { ebegin "Restarting Zope in INSTANCE_HOME" - INSTANCE_HOME/bin/zopectl restart + svc_stop + svc_start eend $? } @@ -40,6 +40,13 @@ quit() { eend $? } +reload() { + # throws an error, dunno why + ebegin "Reloading Zope config in INSTANCE_HOME" + INSTANCE_HOME/bin/zopectl reload + eend $? +} + status() { ebegin "Status of Zope in INSTANCE_HOME" INSTANCE_HOME/bin/zopectl status |