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