summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorElan Ruusamäe <glen@pld-linux.org>2019-10-10 22:26:44 +0300
committerGlenn Strauss <gstrauss@gluelogic.com>2020-01-30 21:47:36 -0500
commit15cdc313b500e2473de7bafdcf1c703dbfd11e56 (patch)
tree296221b4ba9bf6e7fd42a2333bfcb4b74db41a39 /doc
parent12aa0f4c9162120a84125ec77e226c6f447e41bd (diff)
downloadlighttpd-git-15cdc313b500e2473de7bafdcf1c703dbfd11e56.tar.gz
[config] update /var/run -> /run for systemd
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
Diffstat (limited to 'doc')
-rw-r--r--doc/systemd/lighttpd.service2
1 files changed, 1 insertions, 1 deletions
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