nginx.postinst 160 B

1234567
  1. #!/bin/sh
  2. . $IPKG_INSTROOT/etc/functions.sh
  3. add_rcconf nginx nginx NO
  4. gid=$(get_next_gid)
  5. add_group nginx $gid
  6. add_user nginx $(get_next_uid) $gid /tmp/.nginx