diff options
author | wiz <wiz> | 2005-04-18 14:40:17 +0000 |
---|---|---|
committer | wiz <wiz> | 2005-04-18 14:40:17 +0000 |
commit | 620da5e1dabcb586999500ed31467b2f687298c0 (patch) | |
tree | 71077429d47329307a308eb7a1c4764adb58154b /www/apache/files | |
parent | 258fd5b34865e179f61b0f73cc6efe26d3f49709 (diff) | |
download | pkgsrc-620da5e1dabcb586999500ed31467b2f687298c0.tar.gz |
Remove custom "restart" code from startup script so that Apache really
gets restarted when "/etc/rc.d/apache restart" is used. This fixes
PR pkg/24179 for the "apache" package.
Based on a similar change for the apache2 package.
Bump PKGREVISION.
Diffstat (limited to 'www/apache/files')
-rw-r--r-- | www/apache/files/apache.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/www/apache/files/apache.sh b/www/apache/files/apache.sh index 28a3df9d5f4..ba45defaf07 100644 --- a/www/apache/files/apache.sh +++ b/www/apache/files/apache.sh @@ -1,6 +1,6 @@ #!@RCD_SCRIPTS_SHELL@ # -# $NetBSD: apache.sh,v 1.26 2005/02/28 23:30:49 abs Exp $ +# $NetBSD: apache.sh,v 1.27 2005/04/18 14:40:17 wiz Exp $ # # PROVIDE: apache # REQUIRE: DAEMON @@ -25,7 +25,6 @@ required_files="@PKG_SYSCONFDIR@/httpd.conf" extra_commands="reload" start_cmd="apache_doit start" stop_cmd="apache_doit stop" -restart_cmd="apache_doit restart" reload_cmd="apache_doit reload" apache_doit () @@ -34,7 +33,6 @@ apache_doit () case $1 in start) action=${apache_start} ;; - restart)action=re${apache_start} ;; # For apache_start=startssl reload) action=graceful ;; *) action=$1 ;; esac |