From ebc6f3b2cc5bae61845f75ca1e824aeb1d7476cb Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 3 Mar 2011 18:44:25 +0100 Subject: fine tune lighttp config --- package/lighttpd/files/lighttpd.postinst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'package/lighttpd/files/lighttpd.postinst') 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 -- cgit v1.2.3