From: Michael Nosthoff <buildroot@heine.tech>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3 1/8] package/nginx: use /run for PIDFile
Date: Wed, 16 Sep 2020 17:35:03 +0200 [thread overview]
Message-ID: <20200916153510.476-1-buildroot@heine.tech> (raw)
In-Reply-To: <20200916153340.345-1-buildroot@heine.tech>
Fixes:
systemd[1]: /usr/lib/systemd/system/nginx.service:7: PIDFile= references
a path below legacy directory /var/run/, updating /var/run/nginx.pid ?
/run/nginx.pid; please update the unit file accordingly.
Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
---
package/nginx/nginx.service | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/nginx/nginx.service b/package/nginx/nginx.service
index 320df9a80e..9fd215fd3e 100644
--- a/package/nginx/nginx.service
+++ b/package/nginx/nginx.service
@@ -4,7 +4,7 @@ After=syslog.target network.target
[Service]
Type=forking
-PIDFile=/var/run/nginx.pid
+PIDFile=/run/nginx.pid
ExecStartPre=/usr/bin/mkdir -p /var/log/nginx /var/tmp/nginx
ExecStartPre=/usr/sbin/nginx -t -q -g 'pid /var/run/nginx.pid; daemon on; master_process on;'
ExecStart=/usr/sbin/nginx -g 'pid /var/run/nginx.pid; daemon on; master_process on;'
--
2.25.1
next prev parent reply other threads:[~2020-09-16 15:35 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-15 19:49 [Buildroot] [PATCH] package/nginx: use /run for PIDFile Michael Nosthoff
2020-09-15 20:25 ` Thomas Petazzoni
2020-09-15 20:54 ` Michael Nosthoff
2020-09-15 21:56 ` [Buildroot] [PATCH v2] package/{bandwithd, dhcpcd, htpdate, minidlna, nginx, nss-pam-ldapd, openvmtools}: use PIDFile=/run in systemd services Michael Nosthoff
2020-09-16 6:45 ` Thomas Petazzoni
2020-09-16 9:29 ` Michael Nosthoff
2020-09-16 11:45 ` [Buildroot] [PATCH v3 0/8] systemd .service pidfiles in /run Michael Nosthoff
2020-09-16 15:33 ` Michael Nosthoff
2020-09-16 11:45 ` [Buildroot] [PATCH v3 1/8] package/nginx: use /run for PIDFile Michael Nosthoff
2020-09-16 11:45 ` [Buildroot] [PATCH v3 2/8] package/bandwithd: " Michael Nosthoff
2020-09-16 11:45 ` [Buildroot] [PATCH v3 3/8] package/dhcpcd: " Michael Nosthoff
2020-09-16 11:45 ` [Buildroot] [PATCH v3 4/8] package/htpdate: " Michael Nosthoff
2020-09-16 11:45 ` [Buildroot] [PATCH v3 5/8] package/minidlna: " Michael Nosthoff
2020-09-16 11:45 ` [Buildroot] [PATCH v3 6/8] package/nss-pam-ldapd: " Michael Nosthoff
2020-09-16 11:45 ` [Buildroot] [PATCH v3 7/8] package/openvmtools: " Michael Nosthoff
2020-09-16 11:45 ` [Buildroot] [PATCH v3 8/8] package/postgresql: remove PIDFile from .service Michael Nosthoff
2020-09-16 15:33 ` [Buildroot] [PATCH v3 0/8] systemd .service pidfiles in /run Michael Nosthoff
2020-09-16 15:35 ` Michael Nosthoff [this message]
2020-09-16 15:35 ` [Buildroot] [PATCH v3 2/8] package/bandwithd: use /run for PIDFile Michael Nosthoff
2020-09-16 15:35 ` [Buildroot] [PATCH v3 3/8] package/dhcpcd: " Michael Nosthoff
2020-09-16 15:35 ` [Buildroot] [PATCH v3 4/8] package/htpdate: " Michael Nosthoff
2020-09-16 15:35 ` [Buildroot] [PATCH v3 5/8] package/minidlna: " Michael Nosthoff
2020-09-16 15:35 ` [Buildroot] [PATCH v3 6/8] package/nss-pam-ldapd: " Michael Nosthoff
2020-09-16 15:35 ` [Buildroot] [PATCH v3 7/8] package/openvmtools: " Michael Nosthoff
2020-09-16 15:35 ` [Buildroot] [PATCH v3 8/8] package/postgresql: remove PIDFile from .service Michael Nosthoff
2020-09-19 13:18 ` [Buildroot] [PATCH v3 1/8] package/nginx: use /run for PIDFile Thomas Petazzoni
2020-09-28 20:59 ` Peter Korsgaard
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=20200916153510.476-1-buildroot@heine.tech \
--to=buildroot@heine.tech \
--cc=buildroot@busybox.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.