[Pkg-sysvinit-devel] Bug#636339: Missing directory structure in /var/run

Michael Biebl biebl at debian.org
Wed Sep 28 20:22:53 UTC 2011


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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20110928/71270a69/attachment.pgp>


More information about the Pkg-sysvinit-devel mailing list