Browse Source

[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:
- a2d1fb882c
- 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
tags/lighttpd-1.4.55
Elan Ruusamäe 9 months ago
parent
commit
15cdc313b5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      doc/systemd/lighttpd.service

+ 1
- 1
doc/systemd/lighttpd.service View File

@@ -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


Loading…
Cancel
Save