Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#21106 - [lighttpd] rc script improvement

Attached to Project: Arch Linux
Opened by Vladimir (_v_l) - Wednesday, 06 October 2010, 11:39 GMT
Last edited by Pierre Schmitz (Pierre) - Sunday, 12 December 2010, 23:41 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


I propose improvement for rc script of lighttpd. The idea is to use configuration file like other rc scripts do to get 'varying' parameters.

I attach the patch to update rc script and create new conf file.

P.S. The change was inspired by accomodation of lighttpd rc script as systemd native service.
This task depends upon

Closed by  Pierre Schmitz (Pierre)
Sunday, 12 December 2010, 23:41 GMT
Reason for closing:  Deferred
Comment by Pierre Schmitz (Pierre) - Sunday, 24 October 2010, 09:13 GMT
Sorry, missed that report. The patch looks fine, but what is the use case you have in mind here?
Comment by Vladimir (_v_l) - Sunday, 24 October 2010, 13:34 GMT
This patch could help integrate the systemd system into Archlinux.

The main idea is to use systemd native service file for lighttpd. I based lighttpd.service on /etc/rc.d/lighttpd and thought that location of configuration file for lighttpd should be set in /etc/conf.d/lighttpd in order to not write explicitly its location to service file (in case if someone decide to change where that file is).
Comment by Pierre Schmitz (Pierre) - Sunday, 12 December 2010, 23:41 GMT
I'll defer this to the day we use systemd in Arch (if we decide to use it).