Axel wrote:
Hello! I have a question concerning port upgrades.mysql51-server stops automatically during upgrade (using portupgrade or portmanager), and is properly started again based on a AFTERINSTALL setting in pktools.conf.So far, so good. But what about the other daemons that still seem to run after upgrade (Apache, Courier IMAP etc)? Are the new version running fine after the upgrade, or should I set AFTERINSTALL to do a restart of these daemons, to make sure they run the upgraded version?
No -- the sample AFTERINSTALL stuff in pkgtools.conf will run any RC scripts the package installs to try and start those services. This will have no effect if: * The daemon is already running * There's no foo_enable="yes" setting in /etc/rc.conf or equivalent. So daemons like mysql or slapd that get shutdown during the process of updating the port will be restarted, but daemons like apache or snmpd that don't get shutdown will still be running the old version and you'll have to restart them manually, as you will have to configure and startanything newly installed.
Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW
signature.asc
Description: OpenPGP digital signature