/[gentoo-x86]/eclass/apache.eclass
Gentoo

Contents of /eclass/apache.eclass

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Jun 11 20:51:18 2003 UTC (11 years, 3 months ago) by brad
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Removing this pending further discussion.

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/eclass/apache.eclass,v 1.2 2003/06/11 20:13:59 brad Exp $
4 #
5 # Author: Brad Laue <brad@gentoo.org>
6
7 #allow users to customize their data directory by setting the
8 #home directory of the 'apache' user elsewhere.
9
10 ECLASS=apache
11 INHERITED="$INHERITED $ECLASS"
12
13
14 get_docroot () {
15
16 DOCROOT=`grep ^apache: /etc/passwd | cut -d: -f6`
17 if [ -z "$DOCROOT" ]
18 then
19 DOCROOT="/home/httpd"
20 eerror "Please create the apache user and set his home"
21 eerror "directory to your desired datadir location."
22 eerror "Defaulting to \"/home/httpd\"."
23 else
24 einfo "$DOCROOT is your Apache data directory ..."
25 fi
26 }

  ViewVC Help
Powered by ViewVC 1.1.20