Hi Stefan,

a mechanism like tmpfiles.d [2] as provided by systemd would be the solution for
this and we should consider making that generally usable (i.e. without a
dependency on systemd).
This way your package can drop a simple file in /usr/lib/tmpfiles.d or you as
administrator can create a file in /etc/tmpfiles.d

In your case this file would be as simple as

,---
|d /var/run/lighttpd 0750 www-data root -
`---

Cheers,
Michael

[1] http://0pointer.de/public/systemd-man/tmpfiles.d.html
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to