Message ID | 20200916153510.476-1-buildroot@heine.tech |
---|---|
State | Accepted |
Headers | show |
Series | [v3,1/8] package/nginx: use /run for PIDFile | expand |
On Wed, 16 Sep 2020 17:35:03 +0200 Michael Nosthoff via buildroot <buildroot@busybox.net> wrote: > 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(-) Thanks, series applied. Thomas
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@bootlin.com> writes: > On Wed, 16 Sep 2020 17:35:03 +0200 > Michael Nosthoff via buildroot <buildroot@busybox.net> wrote: >> 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(-) > Thanks, series applied. Series (except for the htpdate one) committed to 2020.02.x, 2020.05.x and 2020.08.x, thanks.
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;'
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(-)