diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-03-03 18:44:25 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-03-03 18:44:25 +0100 |
commit | ebc6f3b2cc5bae61845f75ca1e824aeb1d7476cb (patch) | |
tree | ee494b62039fa6b94a67363947db7c21ab36600c /package/lighttpd/files/lighttpd.postinst | |
parent | 2a6ccadf934d192ce231c6d072ebe48c487bcf25 (diff) |
fine tune lighttp config
Diffstat (limited to 'package/lighttpd/files/lighttpd.postinst')
-rw-r--r-- | package/lighttpd/files/lighttpd.postinst | 3 |
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 |