From d5e07ab1f10bee11f124af8d43fa24e830972c30 Mon Sep 17 00:00:00 2001 From: florian Date: Sun, 2 Jun 2013 14:11:38 +0000 Subject: move bgplg and slowcgi sockets to /var/www/run input reyk@, guenther@ "move fast" deraadt@ OK naddy@ --- slowcgi.8 | 6 +++--- slowcgi.c | 4 ++-- 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 .\" @@ -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 * Copyright (c) 2013 Florian Obser @@ -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); -- cgit v1.2.3-2-gb3c3