Date: Sun, 25 Dec 2005 22:35:38 +0100 From: Palle Girgensohn <girgen@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, estartu@augusta.de Subject: Re: ports/90904: zope startup script need modification to handle the new "faststart" option Message-ID: <234DF3E7D49D0EFB2E53D63C@palle.girgensohn.se> In-Reply-To: <BB3BA1A1EE4410B16FCA4086@palle.girgensohn.se> References: <200512252100.jBPL0Eg9062404@freefall.freebsd.org> <BB3BA1A1EE4410B16FCA4086@palle.girgensohn.se>
next in thread | previous in thread | raw e-mail | index | archive | help
And of course, the zeo.sh script must also be handled in the same way: #!/bin/sh # Start or stop zope # $FreeBSD: ports/www/zope/files/zeo.sh,v 1.2 2005/02/18 16:52:17 pav Exp $ # PROVIDE: zeo # REQUIRE: DAEMON # BEFORE: zope # KEYWORD: FreeBSD shutdown # prefix=%%PREFIX%% # Define these zope_* variables in one of these files: # /etc/rc.conf # /etc/rc.conf.local # /etc/rc.conf.d/zeo # # DO NOT CHANGE THESE DEFAULT VALUES HERE # zeo_enable=${zeo_enable:-"NO"} # Enable zeo server zeo_instances=${zeo_instances:-""} # List of instancehome dirs . %%RC_SUBR%% name="zeo" rcvar=`set_rcvar` load_rc_config $name extra_commands="status" if checkyesno zeo_enable; then for instance in $zeo_instances; do required_files="${instance}/etc/${name}.conf ${instance}/bin/zeoctl" zeo_command="${instance}/bin/zeoctl" start_cmd="${zeo_command} start" stop_cmd="${zeo_command} stop" restart_cmd="${zeo_command} restart" status_cmd="${zeo_command} status" echo -n "Zeo instance ${instance} -> " run_rc_command "$1" done fi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?234DF3E7D49D0EFB2E53D63C>