[Lunar-commits] r19826 - in moonbase/trunk/web/lighttpd: . init.d
Florin Braescu
florin at lunar-linux.org
Sun Apr 23 18:30:39 UTC 2006
Author: florin
Date: 2006-04-23 18:30:38 +0000 (Sun, 23 Apr 2006)
New Revision: 19826
Modified:
moonbase/trunk/web/lighttpd/BUILD
moonbase/trunk/web/lighttpd/init.d/lighttpd
Log:
tweak it a bit more.
Modified: moonbase/trunk/web/lighttpd/BUILD
===================================================================
--- moonbase/trunk/web/lighttpd/BUILD 2006-04-23 17:34:39 UTC (rev 19825)
+++ moonbase/trunk/web/lighttpd/BUILD 2006-04-23 18:30:38 UTC (rev 19826)
@@ -8,10 +8,18 @@
default_make &&
if [ ! -f /etc/lighttpd/lighttpd.conf ]; then
- sedit 's:/www/pages/:/var/www/:g' doc/lighttpd.conf &&
- sedit 's:/www/logs/:/var/log/httpd/:g' doc/lighttpd.conf &&
+ sedit 's:/www/pages/:/var/www/:g' doc/lighttpd.conf &&
+ sedit 's:/www/logs/:/var/log/httpd/:g' doc/lighttpd.conf &&
+ sedit 's:"wwwrun":"www":g' doc/lighttpd.conf &&
+ sedit 's:#server.username:server.username:g' doc/lighttpd.conf &&
+ sedit 's:#server.groupname:server.groupname:g' doc/lighttpd.conf &&
+ sedit 's:#server.pid-file:server.pid-file:g' doc/lighttpd.conf &&
mkdir -p /etc/lighttpd &&
install -m 644 doc/lighttpd.conf /etc/lighttpd
fi
-
+
+ mkdir -p /var/www
+ mkdir -p /var/log/httpd
+ chown www:www /var/www /var/log/httpd
+
) > $C_FIFO 2>&1
Modified: moonbase/trunk/web/lighttpd/init.d/lighttpd
===================================================================
--- moonbase/trunk/web/lighttpd/init.d/lighttpd 2006-04-23 17:34:39 UTC (rev 19825)
+++ moonbase/trunk/web/lighttpd/init.d/lighttpd 2006-04-23 18:30:38 UTC (rev 19826)
@@ -6,7 +6,7 @@
# description: LightTPD is a World Wide Web server. It is used to serve \
# HTML files and CGI.
# processname: lighttpd
-# pidfile: /var/run/httpd.pid
+# pidfile: /var/run/lighttpd.pid
# config: /etc/lighttpd.conf
ARGS="-f /etc/lighttpd/lighttpd.conf"
More information about the Lunar-commits
mailing list