diff options
author | Jodok Batlogg <batlogg@gentoo.org> | 2004-07-24 23:45:46 +0000 |
---|---|---|
committer | Jodok Batlogg <batlogg@gentoo.org> | 2004-07-24 23:45:46 +0000 |
commit | e440d1cf63b21d9bcb8ac5ef0d92fbeb9433f131 (patch) | |
tree | 9ef87df9c231eb859eb25ec494145530103e9833 /net-zope | |
parent | Use emake -j1 for security stuff #58049 (diff) | |
download | historical-e440d1cf63b21d9bcb8ac5ef0d92fbeb9433f131.tar.gz historical-e440d1cf63b21d9bcb8ac5ef0d92fbeb9433f131.tar.bz2 historical-e440d1cf63b21d9bcb8ac5ef0d92fbeb9433f131.zip |
improving initscript
Diffstat (limited to 'net-zope')
-rw-r--r-- | net-zope/zope/ChangeLog | 5 | ||||
-rw-r--r-- | net-zope/zope/Manifest | 4 | ||||
-rw-r--r-- | net-zope/zope/files/2.7.2/zope.initd | 75 |
3 files changed, 64 insertions, 20 deletions
diff --git a/net-zope/zope/ChangeLog b/net-zope/zope/ChangeLog index a2e512b88ccb..60034e77d534 100644 --- a/net-zope/zope/ChangeLog +++ b/net-zope/zope/ChangeLog @@ -1,6 +1,9 @@ # 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.35 2004/07/24 22:29:37 batlogg Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.36 2004/07/24 23:45:46 batlogg Exp $ + + 25 Jul 2004; Jodok Batlogg <batlogg@gentoo.org>; : + improving initscript 25 Jul 2004; Jodok Batlogg <batlogg@gentoo.org>; : cleaning up diff --git a/net-zope/zope/Manifest b/net-zope/zope/Manifest index 32584d0e5e8a..2c5c77bb58c0 100644 --- a/net-zope/zope/Manifest +++ b/net-zope/zope/Manifest @@ -1,7 +1,7 @@ MD5 215ada2634f3bf4275d0d7af2833917f zope-2.7.1.ebuild 3859 MD5 bcec2bd98c266278f7bede32289eb201 zope-2.6.4-r1.ebuild 5336 MD5 270110c3c578dfe24b5a9fba872cbc8e zope-2.7.2.ebuild 4556 -MD5 8ec7de2cbcb2d68eecc7d3d9bef94c03 ChangeLog 6991 +MD5 03b57ec5b8fea66013103de637c24c7c ChangeLog 7068 MD5 7890d88c5c6d189fbe6b187a3ebb6532 metadata.xml 161 MD5 ddddbf81a9803fef7474cb22df00a924 files/digest-zope-2.6.4-r1 64 MD5 ae93e53addb8b829a0c097a3b3d9ddf4 files/digest-zope-2.7.1 60 @@ -12,4 +12,4 @@ MD5 4d278d26bb7be7693f7213861a9d3805 files/2.6.4/zope.initd 3791 MD5 a18ddd3f2cdcb815cf86f4b9c4bdd6fe files/2.7.1/zope.confd 950 MD5 8eed6ba044039a495f48e42555ee0893 files/2.7.1/zope.initd 1030 MD5 68ed65ed913618858b8c3e298fbdf5a7 files/2.7.1/zdctl.patch 570 -MD5 295cc9b2c81baf9b7a6197ec19fec56e files/2.7.2/zope.initd 619 +MD5 8b5cd1aaf23873fda5386cae2f850b4b files/2.7.2/zope.initd 1306 diff --git a/net-zope/zope/files/2.7.2/zope.initd b/net-zope/zope/files/2.7.2/zope.initd index 65d495049227..d1526095c5fe 100644 --- a/net-zope/zope/files/2.7.2/zope.initd +++ b/net-zope/zope/files/2.7.2/zope.initd @@ -1,18 +1,59 @@ -#!/sbin/runscript -# Zope rc-script for Gentoo Linux -# Copyright 2004 Jodok Batlogg <batlogg@gentoo.org> -# Distributed under the terms of the GNU General Public License, v2 or later. -# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/files/2.7.2/zope.initd,v 1.1 2004/07/24 21:32:42 batlogg Exp $ - -# simple wrapper to zopectl script -case $1 in - kill|quit|run|start|reload|status|help|restart|show|stop) - echo "$1(ing) zope in ${INSTANCE_HOME}" - ${INSTANCE_HOME}/bin/zopectl $1 - ;; - *) - echo "Usage: $0 {kill|quit|run|start|reload|status|help|restart|show|stop}" - ;; - -esac +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Technologies, Inc. +# 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.2 2004/07/24 23:45:46 batlogg Exp $ + +opts="start stop restart kill quit reload status help" + +depend() { + need net +} + +start() { + ebegin "Starting Zope in INSTANCE_HOME" + INSTANCE_HOME/bin/zopectl start + eend $? +} + +stop() { + ebegin "Stopping Zope in INSTANCE_HOME" + INSTANCE_HOME/bin/zopectl stop + eend $? +} + +restart() { + ebegin "Restarting Zope in INSTANCE_HOME" + INSTANCE_HOME/bin/zopectl restart + eend $? +} + +kill() { + ebegin "Killing Zope in INSTANCE_HOME" + INSTANCE_HOME/bin/zopectl kill + eend $? +} + +quit() { + ebegin "Quitting Zope Daemon Manager INSTANCE_HOME" + INSTANCE_HOME/bin/zopectl quit + eend $? +} + +reload() { + 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 + eend $? +} + +help() { + ebegin "Help for Zope Daemon Manager in INSTANCE_HOME" + INSTANCE_HOME/bin/zopectl help + eend $? +} |