[Tor-BSD] FreeBSD/HardenedBSD - auto updating packages
nusenu-lists at riseup.net
Mon Feb 5 06:02:00 EST 2018
> There's two ways of doing it:
> 1. Run `pkg update` first to update the repo metadata, then use `pkg
> version` (with extra arguments) to check if the tor package gets
> upgraded. Cache this as a boolean value. Run `pkg upgrade` and after
> it's finished upgrading all packages, if the cached boolean value is
> true, then restart tor. This can be integrated into the script that
> gets written by cron.
> 2. Write a plugin for pkg that restarts services whenever packages
> with enabled rc.d scripts get updated. I would prefer this route as it
> would be generically applied and useful outside of just tor.
> I can do either option. However, my time is limited and it'd take me
> around two weeks to getting around to doing it.
Until this is addressed I removed the BSDUpdates reference
so people do not assume this will update and restart their services
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: OpenPGP digital signature
More information about the Tor-BSD