public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Louis Sautier" <sbraz@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/nginx/files/, www-servers/nginx/
Date: Sat, 19 Oct 2024 14:44:43 +0000 (UTC)	[thread overview]
Message-ID: <1729349064.6f136d56a588639697e42a27391f83483d333e0e.sbraz@gentoo> (raw)

commit:     6f136d56a588639697e42a27391f83483d333e0e
Author:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 19 14:36:26 2024 +0000
Commit:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
CommitDate: Sat Oct 19 14:44:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f136d56

www-servers/nginx: fix systemd unit to create /run/nginx/ (#941784)

108a642ef4da broke the systemd service, by moving the PID file to
/run/nginx/ without creating the directory, resulting in 'open()
"/run/nginx/nginx.pid" failed (2: No such file or directory)'

Bug: https://bugs.gentoo.org/939560
Closes: https://bugs.gentoo.org/941784
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>

 www-servers/nginx/files/nginx.service-r1                             | 1 +
 www-servers/nginx/{nginx-1.26.2-r3.ebuild => nginx-1.26.2-r4.ebuild} | 0
 www-servers/nginx/{nginx-1.27.2.ebuild => nginx-1.27.2-r1.ebuild}    | 0
 3 files changed, 1 insertion(+)

diff --git a/www-servers/nginx/files/nginx.service-r1 b/www-servers/nginx/files/nginx.service-r1
index d87081788091..74b023147587 100644
--- a/www-servers/nginx/files/nginx.service-r1
+++ b/www-servers/nginx/files/nginx.service-r1
@@ -5,6 +5,7 @@ After=network.target remote-fs.target nss-lookup.target
 [Service]
 Type=forking
 PIDFile=/run/nginx/nginx.pid
+RuntimeDirectory=nginx
 ExecStartPre=/usr/sbin/nginx -t
 ExecStart=/usr/sbin/nginx
 ExecStartPost=/bin/sleep 0.1

diff --git a/www-servers/nginx/nginx-1.26.2-r3.ebuild b/www-servers/nginx/nginx-1.26.2-r4.ebuild
similarity index 100%
rename from www-servers/nginx/nginx-1.26.2-r3.ebuild
rename to www-servers/nginx/nginx-1.26.2-r4.ebuild

diff --git a/www-servers/nginx/nginx-1.27.2.ebuild b/www-servers/nginx/nginx-1.27.2-r1.ebuild
similarity index 100%
rename from www-servers/nginx/nginx-1.27.2.ebuild
rename to www-servers/nginx/nginx-1.27.2-r1.ebuild


             reply	other threads:[~2024-10-19 14:44 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-19 14:44 Louis Sautier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-23  9:38 [gentoo-commits] repo/gentoo:master commit in: www-servers/nginx/files/, www-servers/nginx/ Sam James
2024-09-02  2:55 Sam James
2022-10-23 20:24 Conrad Kostecki
2022-07-13 19:05 Conrad Kostecki
2020-08-14  0:07 Thomas Deutschmann
2018-12-13 15:39 Thomas Deutschmann
2018-11-11 22:43 Thomas Deutschmann
2018-06-22 10:37 Thomas Deutschmann
2018-06-05 16:25 Thomas Deutschmann
2018-02-18 16:05 Thomas Deutschmann
2017-07-12 10:34 Thomas Deutschmann
2017-04-14 10:51 Thomas Deutschmann
2016-11-15 21:49 Thomas Deutschmann
2016-10-19 14:38 Thomas Deutschmann
2016-10-12 19:48 Thomas Deutschmann
2016-08-10 22:13 Thomas Deutschmann
2016-07-26  9:51 Lars Wendler
2016-07-26  9:51 Lars Wendler
2016-05-14  9:05 Zac Medico
2016-05-07  3:15 Zac Medico
2016-04-21 20:49 Zac Medico

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1729349064.6f136d56a588639697e42a27391f83483d333e0e.sbraz@gentoo \
    --to=sbraz@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox