I have several custom .debs that I created. All of them depend on apache and after updating any apache package you need to restart.
Restarting apache is naive from postinst. I get a reboot for every package I update, which is very slow. Does anyone know if there is a good way to avoid this? Dpkg triggers seem to be the right approach, but I can't find a lot of documentation information. Apache defines its own trigger for activation. If so, what should I call it?
source
share