aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflorian2013-06-02 14:11:38 +0000
committerWynn Wolf Arbor2020-05-24 12:33:55 +0200
commitd5e07ab1f10bee11f124af8d43fa24e830972c30 (patch)
treeca7a4c2a8069d1f1e541ff64a3083697643b31fa
parent9b67d52b8bf2882bf4cf1710d0ad27f338673133 (diff)
downloadslowcgi-d5e07ab1f10bee11f124af8d43fa24e830972c30.tar.gz
move bgplg and slowcgi sockets to /var/www/run input reyk@, guenther@ "move fast" deraadt@ OK naddy@
Diffstat (limited to '')
-rw-r--r--slowcgi.86
-rw-r--r--slowcgi.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/slowcgi.8 b/slowcgi.8
index 4bd899d..87e0bf0 100644
--- a/slowcgi.8
+++ b/slowcgi.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: slowcgi.8,v 1.2 2013/05/23 16:23:16 jmc Exp $
+.\" $OpenBSD: slowcgi.8,v 1.3 2013/06/02 14:11:38 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: May 23 2013 $
+.Dd $Mdocdate: June 2 2013 $
.Dt SLOWCGI 8
.Os
.Sh NAME
@@ -29,7 +29,7 @@ is a server which implements the FastCGI Protocol to execute CGI scripts.
.Pp
.Nm
opens a socket at
-.Pa /var/www/logs/slowcgi.sock ,
+.Pa /var/www/run/slowcgi.sock ,
owned by root:www,
with permissions 0660.
It then
diff --git a/slowcgi.c b/slowcgi.c
index a227602..b377977 100644
--- a/slowcgi.c
+++ b/slowcgi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: slowcgi.c,v 1.3 2013/05/23 16:13:08 florian Exp $ */
+/* $OpenBSD: slowcgi.c,v 1.4 2013/06/02 14:11:38 florian Exp $ */
/*
* Copyright (c) 2013 David Gwynne <dlg@openbsd.org>
* Copyright (c) 2013 Florian Obser <florian@openbsd.org>
@@ -253,7 +253,7 @@ main(int argc, char *argv[])
event_init();
- slowcgi_listen("/var/www/logs/slowcgi.sock", pw->pw_gid);
+ slowcgi_listen("/var/www/run/slowcgi.sock", pw->pw_gid);
if (chroot(pw->pw_dir) == -1)
lerr(1, "chroot(%s)", pw->pw_dir);