My deb package with the Lighttpd plugin contains a dynamically loadable file usr/lib/lighttpd/mod_pdujson.so
and the configuration file etc/lighttpd/conf-enabled/10-pdujson.conf
. The project itself is on bitbucket .
In principle, everything works, except that after installing or updating the package, you have to manually give the command lighttpd to reload the configuration and plugins:
sudo /etc/init.d/lighttpd reload
How to make it happen automatically after installing or updating the package?
dpkg -i
orapt-get install/upgrade
- sercxjo pm