From 0410c7b238919e9100937fc207f843b2964966a9 Mon Sep 17 00:00:00 2001 From: Ansuel Smith Date: Wed, 18 Jul 2018 01:52:09 +0200 Subject: [PATCH] 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 --- net/uwsgi-cgi/Makefile | 2 +- net/uwsgi-cgi/files-luci-support/uwsgi.conf | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/net/uwsgi-cgi/Makefile b/net/uwsgi-cgi/Makefile index ec4c0f474..684cb6c01 100644 --- a/net/uwsgi-cgi/Makefile +++ b/net/uwsgi-cgi/Makefile @@ -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 diff --git a/net/uwsgi-cgi/files-luci-support/uwsgi.conf b/net/uwsgi-cgi/files-luci-support/uwsgi.conf index 82cbbb1d3..7e8b2e56c 100644 --- a/net/uwsgi-cgi/files-luci-support/uwsgi.conf +++ b/net/uwsgi-cgi/files-luci-support/uwsgi.conf @@ -24,3 +24,4 @@ pidfile = /var/run/uwsgi.pid die-on-term = true threads = 3 processes = 3 +chmod-socket = 666