package/nginx: use /run instead of /var/run
authorMichael Nosthoff <buildroot@heine.tech>
Thu, 15 Oct 2020 10:11:36 +0000 (12:11 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 25 Oct 2020 09:30:08 +0000 (10:30 +0100)
commitd200ceffb2eab5c097684c5b9a2e6c6097b1f698
tree62c90c0c15f58206eea980af1e1670e71ca83f83
parentdf646546894b535a3a7942044200a81313e7ae86
package/nginx: use /run instead of /var/run

This is a follow-up to 4027ba29f448 ("package/nginx: use /run for
PIDFile"), in which we missed that nginx is still built with /var/run
paths.

This commit changes the compile options to use /run instead of
/var/run for pid and lock file to make it consistent.

Further dropping the passing of the pid option in the service file as
this isn't neccessary. Neither debian nor nginx default .service does
it.

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/nginx/nginx.mk
package/nginx/nginx.service