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 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 /var/log/iipsrv.log
>>        chown www-data:www-data /var/log/iipsrv.log
>> fi
>>
>> See attached postinst patch.
>>
>> And include the attached 20-iipsrv.conf file in
>> /etc/lighttpd/conf-available/
>>
> 
> You are not installing 20-iipsrv.conf at any point in time... are you
> sure about this patch ? Does it works for you ?



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to