summaryrefslogtreecommitdiff
path: root/package/lighttpd/files/lighttpd.postinst
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-03-03 18:44:25 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-03-03 18:44:25 +0100
commitebc6f3b2cc5bae61845f75ca1e824aeb1d7476cb (patch)
treeee494b62039fa6b94a67363947db7c21ab36600c /package/lighttpd/files/lighttpd.postinst
parent2a6ccadf934d192ce231c6d072ebe48c487bcf25 (diff)
fine tune lighttp config
Diffstat (limited to 'package/lighttpd/files/lighttpd.postinst')
-rw-r--r--package/lighttpd/files/lighttpd.postinst3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/lighttpd/files/lighttpd.postinst b/package/lighttpd/files/lighttpd.postinst
index e77dadeee..559ccb61c 100644
--- a/package/lighttpd/files/lighttpd.postinst
+++ b/package/lighttpd/files/lighttpd.postinst
@@ -2,3 +2,6 @@
. $IPKG_INSTROOT/etc/functions.sh
add_rcconf lighttpd lighttpd NO
add_rcconf lighttpd_flags lighttpd_flags "-f /etc/lighttpd/lighttpd.conf"
+gid=$(get_next_gid)
+add_user lighttpd $(get_next_uid) $gid /srv/www
+add_group lighttpd $gid