[pkg-lighttpd] Bug#652442: lighttpd: please include systemd service file
Arno Töll
debian at toell.net
Tue Dec 20 01:46:01 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
tags 652442 +pending +patch
thanks
Hello Michael,
I just committed both of your systemd files in commit 568 [1]. However,
I moved the tmpfiles.d file from your proposal to /usr/lib/tmpfiles.d/
as this is, where other tmpfiles.d are installed in Debian (and I
renamed it, but that's a dh_install limitation).
Also, I found it quite inconsistent to install the service file to /lib
but the tmpfiles.d file to /etc.
Albeit Stefan said the contrary, he accidentally forgot to release the
systemd service file with the release tarball of 1.4.30. :)
Hence I added it to the Debian specific part for now. I guess he will do
so for 1.4.31.
But, one more thing:
On 17.12.2011 13:57, Michael Stapelberg wrote:
> We should also change /etc/logrotate.d/lighttpd like this:
>
> postrotate
> if [ -x /bin/systemctl ]; then \
> /bin/systemctl kill --signal=SIGHUP lighttpd.service > /dev/null 2>&1; \
> elif [ -x /usr/sbin/invoke-rc.d ]; then \
> invoke-rc.d lighttpd reopen-logs > /dev/null 2>&1; \
> else \
> /etc/init.d/lighttpd reopen-logs > /dev/null 2>&1; \
> fi; \
> endscript
I didn't apply this patch. That's messy and does not scale. What comes
next if people ask me to support runit, upstart and god knows what else?
I will support systemd as soon as there is a more generic interface
through which systemd can be invoked. Indeed I think systemd maintainers
want to integrate it to invoke-rc.d and that's the right approach.
I invite you to raise that discussion on debian-devel to discuss, and
possibly assist to implement a more generic wrapper for that sort of
problems.
[1] http://anonscm.debian.org/viewvc/pkg-lighttpd?view=revision&revision=568
- --
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBAgAGBQJO7+jZAAoJEMcrUe6dgPNt72cP/072Qfi7NWkTQ2qfC/mR0CrC
rS9RHQVjt7t+5On7ZgsezFI+gdGglIjG1juKG5/tH2SqdGXfb4F9kfwPTl4cnW09
bmPIhvlMhPmu13rGrDH70q9GXjMjxPURHVxbnvbglS7YOJr0K6eooBAlWfHANr73
O1f5ylRlLxzR27HUjLeLXGLE1Ba6qnoGFvICOLyM1ZGwkxXcIfqLRiDwB9ctdN55
zC8yFOOSwI3WdGqnmvTJqbYskAu7DuJVU/rzA3BrtyyUHyDP2ogfRoz6OVIXZTA4
7mxGtAJo+qSXehUUWWK9ahjWrklee/PdpgDizxfDJetmSJPo6zAXvmdlxRhd4VO2
sLfzCEjDKzf484b6DH0cc304ne9lmgpsDa4kqbkyPv2OQiBMC6Ui1P/svSNWEBtU
BLalVP5tPUq0pEQ0alfWIoU/SqgPnFkzutldsio07AQn2J9s7BUAX2u3G3oafXmt
H4UsH6y8VgDeVEhXaZLXCldjdiBRjSJt7TYvUnBOsnWpGdNtXwm3t1wNrX0jowOk
HTYkIENObk2jOGlXIzqtLs4UYtH1pcB0LillAevkkksUQ9vLmrHDsdI3jiBiAHB2
vDITD07vyy2fUdKK1L5SZL2IifaV+wLTjs5vfjWLQAldPhOlUpAZhxkDJldOUleh
D/SNCYbWJVkMdSnf4gjL
=5qBK
-----END PGP SIGNATURE-----
More information about the pkg-lighttpd-maintainers
mailing list