[pkg-lighttpd] Bug#491502: please make it possible to disable lighttpd

Antonio Terceiro terceiro at softwarelivre.org
Sat Jul 19 22:23:50 UTC 2008


Package: lighttpd
Version: 1.4.19-4
Severity: wishlist
Tags: patch

Hi,


lighttpd is the perfect choice for a test webserver for CGI programs.
But one does not need it running all the time, specially on laptops.  I
wanted a way to have lighttpd installed, but disabled, so I not waste
RAM and CPU during most of the time when I don't need it. When I need
it, I can manually start it with a custom configuration file, and with
my regular user account.

Please consider applying the attached patch. It makes possible to
disable lighttpd by creating /etc/default/lighttpd with a line like
this:

DISABLE_LIGHTTPD=Y

The patch does not introduce any bashisms in the initscript, and seems
to work well on my system.

Thanks,

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=pt_BR.utf8, LC_CTYPE=pt_BR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lighttpd depends on:
ii  libattr1               1:2.4.43-1        Extended attribute shared library
ii  libbz2-1.0             1.0.5-0.1         high-quality block-sorting file co
ii  libc6                  2.7-12            GNU C Library: Shared libraries
ii  libfam0                2.7.0-13.3        Client library to control the FAM 
ii  libldap-2.4-2          2.4.10-1          OpenLDAP libraries
ii  libpcre3               7.6-2.1           Perl 5 Compatible Regular Expressi
ii  libssl0.9.8            0.9.8g-10.1       SSL shared libraries
ii  libterm-readline-perl- 1.0302-1          Perl implementation of Readline li
ii  lsb-base               3.2-12            Linux Standard Base 3.2 init scrip
ii  mime-support           3.44-1            MIME files 'mime.types' & 'mailcap
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

lighttpd recommends no packages.

-- no debconf information

-- 
Antonio Terceiro <terceiro at softwarelivre.org>
http://people.softwarelivre.org/~terceiro/
GnuPG ID: 0F9CB28F


-------------- next part --------------
A non-text attachment was scrubbed...
Name: disable-lighttpd-init.patch
Type: text/x-diff
Size: 1278 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-lighttpd-maintainers/attachments/20080719/2062174b/attachment.patch 


More information about the pkg-lighttpd-maintainers mailing list