summaryrefslogtreecommitdiff
path: root/package/nginx/files/nginx.postinst
blob: cfe33a1ef547e675165dc68d8ec8e2d2488805d1 (plain)
1
2
3
4
5
6
7
#!/bin/sh
. $IPKG_INSTROOT/etc/functions.sh
add_rcconf nginx NO
gid=$(get_next_gid)
add_group www $gid
add_user www $(get_next_uid) $gid /srv/www