portupgrade and starting servers after upgrade.

Matthew D. Fuller fullermd at over-yonder.net
Tue Sep 19 01:08:06 PDT 2006

On Tue, Sep 19, 2006 at 05:46:00PM +1000 I heard the voice of
Peter Jeremy, and lo! it spake thus:
> Stopping the daemon is easy: "/usr/local/etc/rc.d/.... stop".

More to the point, portupgrade doesn't stop it.  pkg_delete does,
because stopping it is in the plist.  e.g., for spamassassin:

% grep sa-spamd /var/db/pkg/p5-Mail-SpamAssassin-3.1.5/+CONTENTS | grep stop
@unexec %D/etc/rc.d/sa-spamd.sh stop > /dev/null 2>&1 || true
@unexec %D/etc/rc.d/sa-spamd stop > /dev/null 2>&1 || true

Matthew Fuller     (MF4839)   |  fullermd at over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.

More information about the freebsd-ports mailing list