aboutsummaryrefslogtreecommitdiffstats
path: root/slowcgi.8
diff options
context:
space:
mode:
authorflorian2018-08-13 16:54:50 +0000
committerWynn Wolf Arbor2020-05-24 12:33:55 +0200
commit157a1e913ca57b41dbb048c07181a99aa7eb2c7c (patch)
tree25652fc055b6fa3d3d0bca85ed537f011e58b49a /slowcgi.8
parent687262f50332e0da903af54f658dbaf33f72b8c7 (diff)
downloadslowcgi-157a1e913ca57b41dbb048c07181a99aa7eb2c7c.tar.gz
Make the owner of fcgi socket configurable.
Andrew Daugherity (andrew.daugherity AT gmail) pointed out that this is helpful for his port to linux. For example on openSUSE nginx and Apache run as different users so a compile time default user won't cut it. Man page tweaks jmc@ While here, consistently log users at debug level; from Andrew.
Diffstat (limited to 'slowcgi.8')
-rw-r--r--slowcgi.811
1 files changed, 9 insertions, 2 deletions
diff --git a/slowcgi.8 b/slowcgi.8
index 8e9340e..3d162c9 100644
--- a/slowcgi.8
+++ b/slowcgi.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: slowcgi.8,v 1.13 2018/08/01 11:47:29 florian Exp $
+.\" $OpenBSD: slowcgi.8,v 1.14 2018/08/13 16:54:50 florian Exp $
.\"
.\" Copyright (c) 2013 Florian Obser <florian@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: August 1 2018 $
+.Dd $Mdocdate: August 13 2018 $
.Dt SLOWCGI 8
.Os
.Sh NAME
@@ -25,6 +25,7 @@
.Op Fl d
.Op Fl p Ar path
.Op Fl s Ar socket
+.Op Fl U Ar user
.Op Fl u Ar user
.Sh DESCRIPTION
.Nm
@@ -75,6 +76,12 @@ effectively disables the chroot.
.It Fl s Ar socket
Create and bind to alternative local socket at
.Ar socket .
+.It Fl U Ar user
+Change the owner of
+.Pa /var/www/run/slowcgi.sock
+to
+.Ar user
+and its primary group instead of the default www:www.
.It Fl u Ar user
Drop privileges to
.Ar user