Summary: | zope startup script need modification to handle the new "faststart" option | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Palle Girgensohn <girgen> | ||||
Component: | Individual Port(s) | Assignee: | Palle Girgensohn <girgen> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | estartu | ||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Palle Girgensohn
![]() ![]() Responsible Changed From-To: freebsd-ports-bugs->girgen State Changed From-To: open->feedback Awaiting maintainers feedback Here's a suggested patch that works fine for me. estartu, is it OK that I commit this? I will need to bump portrevision. /Palle 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 mailer broke som diffs, so I've put them here: http://people.freebsd.org/~girgen/zope.diff /Palle I approve this patch. Thanks for the work Palle Bye Estartu State Changed From-To: feedback->closed You're welcome! Committed. :) |