Browse Source

uwsgi-cgi: set socket to 666 permission

Currently the socket file for uwsgi can be open only from root user, change this to permit other use to use it. (Needed for nginx to use uwsgi as nobody or dedicated user)

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
lilik-openwrt-22.03
Ansuel Smith 6 years ago
parent
commit
0410c7b238
No known key found for this signature in database GPG Key ID: AC001D09ADBFEAD7
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      net/uwsgi-cgi/Makefile
  2. +1
    -0
      net/uwsgi-cgi/files-luci-support/uwsgi.conf

+ 1
- 1
net/uwsgi-cgi/Makefile View File

@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=uwsgi-cgi
PKG_VERSION:=2.0.17.1
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE_URL=https://codeload.github.com/unbit/uwsgi/tar.gz/$(PKG_VERSION)?
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz


+ 1
- 0
net/uwsgi-cgi/files-luci-support/uwsgi.conf View File

@ -24,3 +24,4 @@ pidfile = /var/run/uwsgi.pid
die-on-term = true
threads = 3
processes = 3
chmod-socket = 666

Loading…
Cancel
Save