[Tor-BSD] FreeBSD/HardenedBSD - auto updating packages

nusenu 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

twitter: @nusenu_

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.nycbug.org/pipermail/tor-bsd/attachments/20180205/5fd27dce/attachment.bin>

More information about the Tor-BSD mailing list