portupgrade and starting servers after upgrade.

sean at gothic.net.au sean at gothic.net.au
Tue Sep 19 02:22:29 PDT 2006


> Is there a policy about how to deal with running daemons and portupgrade?
>
> For instance every time I portupgrade dhcpd I have to remember to start
> it manually after the upgrade. As portupgrade knows how to stop the
> daemon before the upgrade it should also know how to start it afterwards.
>

Read /usr/local/etc/pkgtools.conf, specifically the 'AFTERINSTALL' part...

eg.

    'databases/mysql*server' => '/usr/local/etc/rc.d/mysql-server restart',



> /Martin
>
>
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>
>




More information about the freebsd-ports mailing list