summaryrefslogtreecommitdiff
path: root/www/apache/files
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2002-03-18 12:15:37 +0000
committerabs <abs@pkgsrc.org>2002-03-18 12:15:37 +0000
commitae2edbe9cedd932f9a24a7ee7c5e6f7c57d94d7d (patch)
tree6305aa4d51ba7d20059c3cbc116d4c6951581d53 /www/apache/files
parent3ada46a527b6f6aad2a88f7f333cea84b78a2e6f (diff)
downloadpkgsrc-ae2edbe9cedd932f9a24a7ee7c5e6f7c57d94d7d.tar.gz
If we do not have /etc/rc.subr then call apache_doit "$1" not eval ${start_cmd} - "/etc/rc.d/apache restart" and friends work again on Linux
Diffstat (limited to 'www/apache/files')
-rw-r--r--www/apache/files/apache.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/apache/files/apache.sh b/www/apache/files/apache.sh
index 605b9c4a56f..f888b10221d 100644
--- a/www/apache/files/apache.sh
+++ b/www/apache/files/apache.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: apache.sh,v 1.17 2002/02/26 20:28:41 jlam Exp $
+# $NetBSD: apache.sh,v 1.18 2002/03/18 12:15:37 abs Exp $
#
# PROVIDE: apache
# REQUIRE: DAEMON
@@ -53,5 +53,5 @@ then
load_rc_config $name
run_rc_command "$1"
else
- eval ${start_cmd}
+ apache_doit "$1"
fi