diff options
author | Natanael Copa <natanael.copa@gmail.com> | 2007-08-14 22:26:18 +0000 |
---|---|---|
committer | Natanael Copa <natanael.copa@gmail.com> | 2007-08-14 22:26:18 +0000 |
commit | 1956804d2324a8dc6f9bc4a0beb9c27dd3b7a283 (patch) | |
tree | 44f1e0716ac54052c608990c8b671d658a7b9dc4 | |
parent | dc53423183a0c459284ebd139022b707f01af006 (diff) | |
download | acf-core-1956804d2324a8dc6f9bc4a0beb9c27dd3b7a283.tar.bz2 acf-core-1956804d2324a8dc6f9bc4a0beb9c27dd3b7a283.tar.xz |
added acf.conf
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@221 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | README | 17 | ||||
-rw-r--r-- | acf.conf | 2 |
3 files changed, 18 insertions, 6 deletions
@@ -8,6 +8,7 @@ DISTPKG=$(P).tar.bz2 SUBDIRS=app lib www EXTRA_DIST=ChangeLog Makefile README TODO +CONF_FILES=acf.conf DISTFILES=$(EXTRA_DIST) @@ -48,6 +49,8 @@ $(DISTPKG): distdir $(DISTFILES) rm -r $(DISTDIR) phony+=install -install: install-recursive +install: install-recursive $(CONF_FILES) + mkdir -p $(DESTDIR)/etc/acf + cp $(CONF_FILES) $(DESTDIR)/etc/acf .PHONY: $(phony) @@ -1,11 +1,18 @@ Alpine Configuration Framework (A work in progress.) -You can checout from svn to another location and run "make checkpkg DESTDIR=/" -to make sure that all files get included in dist package. +To install the package run: -The config file should be in /etc/acf/acf.conf and contain: + make install -appdir=/var/lib/acf/app/ +To set up mini_httpd create a /etc/mini_httpd.conf file containing: +nochroot +dir=/usr/share/acf/www +user=nobody +logfile=/var/log/mini_httpd.log +cgipat=cgi-bin/* +#host=<ip-addr> -(or wherever your app dir is) +Then start mini_httpd with: + + mini_httpd -C /etc/mini_httpd.conf diff --git a/acf.conf b/acf.conf new file mode 100644 index 0000000..f3718ff --- /dev/null +++ b/acf.conf @@ -0,0 +1,2 @@ +appdir=/usr/share/acf/app/ +libdir=/usr/share/acf/lib/ |