mirror of
https://github.com/openwrt/packages.git
synced 2025-12-24 01:58:35 +04:00
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>
This commit is contained in:
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=uwsgi-cgi
|
PKG_NAME:=uwsgi-cgi
|
||||||
PKG_VERSION:=2.0.17.1
|
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_URL=https://codeload.github.com/unbit/uwsgi/tar.gz/$(PKG_VERSION)?
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
|
|||||||
@@ -24,3 +24,4 @@ pidfile = /var/run/uwsgi.pid
|
|||||||
die-on-term = true
|
die-on-term = true
|
||||||
threads = 3
|
threads = 3
|
||||||
processes = 3
|
processes = 3
|
||||||
|
chmod-socket = 666
|
||||||
|
|||||||
Reference in New Issue
Block a user