Bug#675001: iipimage: add Lighttpd support

2012-06-13 Thread Ruven
For Lighttpd support, simply add the following to the postinst file: if [ -e /etc/lighttpd/lighttpd.conf ]; then lighty-enable-mod iipsrv || true touch /var/log/iipsrv.log chown www-data:www-data /var/log/iipsrv.log fi See attached postinst patch. And include the

Bug#675001: iipimage: add Lighttpd support

2012-06-13 Thread Mathieu Malaterre
tags 675001 - patch tags 675001 moreinfo thanks On Wed, Jun 13, 2012 at 3:59 PM, Ruven ru...@users.sourceforge.net wrote: For Lighttpd support, simply add the following to the postinst file: if [ -e /etc/lighttpd/lighttpd.conf ]; then        lighty-enable-mod iipsrv || true        touch

Bug#675001: iipimage: add Lighttpd support

2012-06-13 Thread Ruven
lighty-enable-mod works in the same way as a2enmod and will symlink to the conf-enabled directory. I've tested this and it does work. Our Ubuntu binary .deb uses this technique. On 06/13/2012 06:23 PM, Mathieu Malaterre wrote: tags 675001 - patch tags 675001 moreinfo thanks On Wed, Jun

Bug#675001: iipimage: add Lighttpd support

2012-06-13 Thread Ruven
And if we're using /iipsrv/ as per policy then you should apply this patch to 20-iipsrv.conf On 06/13/2012 06:31 PM, Ruven wrote: lighty-enable-mod works in the same way as a2enmod and will symlink to the conf-enabled directory. I've tested this and it does work. Our Ubuntu binary .deb

Bug#675001: iipimage: add Lighttpd support

2012-06-13 Thread Ruven
And of course the rules file needs to be updated to include this new conf file. 24a25 dh_install debian/20-iipsrv.conf etc/lighttpd/conf-available

Bug#675001: iipimage: add Lighttpd support

2012-06-13 Thread Ruven
And the final prerm disabling of the lighttpd config. 15c15,17 --- if [ -e /etc/lighttpd/lighttpd.conf ]; then lighty-disable-mod iipsrv || true fi