From 2a1116bbd96aba9fe0c9afdd0a2f227e147b1388 Mon Sep 17 00:00:00 2001 From: Mikle Kolyada Date: Fri, 2 Aug 2019 15:08:19 +0300 Subject: www-servers/lighttpd: migrate to /run Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Mikle Kolyada --- www-servers/lighttpd/files/conf/lighttpd.conf | 2 +- www-servers/lighttpd/files/conf/mod_fastcgi.conf | 2 +- www-servers/lighttpd/files/lighttpd.tmpfiles.conf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'www-servers/lighttpd') diff --git a/www-servers/lighttpd/files/conf/lighttpd.conf b/www-servers/lighttpd/files/conf/lighttpd.conf index 763170c6ff0c..2a13a57c1c8d 100644 --- a/www-servers/lighttpd/files/conf/lighttpd.conf +++ b/www-servers/lighttpd/files/conf/lighttpd.conf @@ -47,7 +47,7 @@ server.username = "lighttpd" server.groupname = "lighttpd" server.document-root = var.basedir + "/htdocs" -server.pid-file = "/var/run/lighttpd.pid" +server.pid-file = "/run/lighttpd.pid" server.errorlog = var.logdir + "/error.log" # log errors to syslog instead diff --git a/www-servers/lighttpd/files/conf/mod_fastcgi.conf b/www-servers/lighttpd/files/conf/mod_fastcgi.conf index b72b1ce604b1..5d5ea51ef252 100644 --- a/www-servers/lighttpd/files/conf/mod_fastcgi.conf +++ b/www-servers/lighttpd/files/conf/mod_fastcgi.conf @@ -7,7 +7,7 @@ server.modules += ("mod_fastcgi") fastcgi.server = ( ".php" => ( "localhost" => ( - "socket" => "/var/run/lighttpd/lighttpd-fastcgi-php-" + PID + ".socket", + "socket" => "/run/lighttpd/lighttpd-fastcgi-php-" + PID + ".socket", "bin-path" => "/usr/bin/php-cgi" ) ) diff --git a/www-servers/lighttpd/files/lighttpd.tmpfiles.conf b/www-servers/lighttpd/files/lighttpd.tmpfiles.conf index 325ab13d839c..4ba7262b6374 100644 --- a/www-servers/lighttpd/files/lighttpd.tmpfiles.conf +++ b/www-servers/lighttpd/files/lighttpd.tmpfiles.conf @@ -1 +1 @@ -d /var/run/lighttpd 0750 lighttpd lighttpd - \ No newline at end of file +d /run/lighttpd 0750 lighttpd lighttpd - -- cgit v1.2.3-65-gdbad