Re-starting daemons across upgrades? (was: Thank you (for making
the ports less boring).)
lukasz at wasikowski.net
Fri Sep 16 18:18:09 UTC 2011
W dniu 2011-09-16 18:17, Eric pisze:
> Just for ref regarding (c) on the portupgrade wiki page it mentions using
> AFTERINSTALL in pkgtools.conf for doing automatic stop/start/restart.
I'm using it for a long time on my personal box and it's not that great.
After some updates there is need to prepare the daemon - adjust
configuration for example. Automatic restart will do much harm in that
case. Another example: update when there's apache and php in new
versions, system has also eaccelerator and some pecl's installed. If php
was updated before apache, then apache restart via AFTERINSTALL will
leave you with not working www server (because eaccelerator and pecl's
were not recompiled). Updating ports should never turn off or restart
service - thats my $0.02.
More information about the freebsd-ports