summaryrefslogtreecommitdiff
path: root/package/nginx/files/nginx.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'package/nginx/files/nginx.postinst')
-rw-r--r--package/nginx/files/nginx.postinst4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/nginx/files/nginx.postinst b/package/nginx/files/nginx.postinst
index fcb1a013f..cfe33a1ef 100644
--- a/package/nginx/files/nginx.postinst
+++ b/package/nginx/files/nginx.postinst
@@ -2,6 +2,6 @@
. $IPKG_INSTROOT/etc/functions.sh
add_rcconf nginx NO
gid=$(get_next_gid)
-add_group nginx $gid
-add_user nginx $(get_next_uid) $gid /tmp/.nginx
+add_group www $gid
+add_user www $(get_next_uid) $gid /srv/www