projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move kermrc creation to misc/kermrc
[hvlinux.git]
/
stage5
/
pkg
/
lighttpd
diff --git
a/stage5/pkg/lighttpd
b/stage5/pkg/lighttpd
index
121db2b
..
d5ded9f
100644
(file)
--- a/
stage5/pkg/lighttpd
+++ b/
stage5/pkg/lighttpd
@@
-2,9
+2,9
@@
hvconfig_pre()
{
hvconfig_pre()
{
- groupadd -f ${
APACHE
_USER}
- hv_useradd -c WebServer -d /dev/null -g ${
APACHE
_USER} -s /bin/false \
- ${
APACHE
_USER}
+ groupadd -f ${
HTTPD
_USER}
+ hv_useradd -c WebServer -d /dev/null -g ${
HTTPD
_USER} -s /bin/false \
+ ${
HTTPD
_USER}
}
hvbuild_post()
}
hvbuild_post()
@@
-55,7
+55,7
@@
fastcgi.server = ( ".php" => ((
)))
EOF
)))
EOF
- chown -v -R ${
APACHE_USER}:${APACHE
_USER} /srv/www
+ chown -v -R ${
HTTPD_USER}:${HTTPD
_USER} /srv/www
# Bootscript
cp -p doc/initscripts/sysconfig.lighttpd /etc/sysconfig/lighttpd
# Bootscript
cp -p doc/initscripts/sysconfig.lighttpd /etc/sysconfig/lighttpd
@@
-63,5
+63,7
@@
EOF
install -v -m740 ${SCRDIR}/bootscripts/lighttpd /etc/rc.d/init.d
# script-name start stop
install -v -m740 ${SCRDIR}/bootscripts/lighttpd /etc/rc.d/init.d
# script-name start stop
- bootscript_add_rc3 lighttpd 70 20
+ if [ "x${DEFAULT_WEB_SERVER}" == "xlighttpd" ]; then
+ bootscript_add_rc3 lighttpd 70 20
+ fi
}
}