From 15cdc313b500e2473de7bafdcf1c703dbfd11e56 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 10 Oct 2019 22:26:44 +0300 Subject: [PATCH] [config] update /var/run -> /run for systemd MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This gets rid of the warning: > May 19 10:56:32 buster systemd[1]: /lib/systemd/system/lighttpd.service:6: > PIDFile= references path below legacy directory /var/run/, > updating /var/run/lighttpd.pid → /run/lighttpd.pid; > please update the unit file accordingly. refs: - https://github.com/systemd/systemd/commit/a2d1fb882c4308bc10362d971f333c5031d60069 - https://github.com/systemd/systemd/pull/9019 - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929203 - Filesystem Hierarchy Standard 3.0 (FHS 3.0) github: closes #100 --- doc/systemd/lighttpd.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/systemd/lighttpd.service b/doc/systemd/lighttpd.service index b59bdcd7..6fa622b7 100644 --- a/doc/systemd/lighttpd.service +++ b/doc/systemd/lighttpd.service @@ -4,7 +4,7 @@ After=network-online.target [Service] Type=simple -PIDFile=/var/run/lighttpd.pid +PIDFile=/run/lighttpd.pid ExecStartPre=/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf ExecReload=/bin/kill -USR1 $MAINPID -- 2.11.4.GIT