[Tor-BSD] Tor relay guide input
nusenu
nusenu-lists at riseup.net
Sat Jan 13 12:24:00 EST 2018
>>> `pkg upgrade` is cronnable, so both FreeBSD and HardenedBSD could
>>> perform automatic (and unattended) package upgrades via a cronjob. And
>>> with that, all the boxes in the grid linked to at [1] should be green
>>> for FreeBSD and HardenedBSD.
>>
>> the red box is based on our previous discussion
>> https://twitter.com/lattera/status/939491141459828736
>
> Gotcha. I was incorrect.
>
> pkg allows users to pass int ALWAYS_ASSUME_YES as an environment
> variable, so it'd be easy to write a little script like this:
>
> #!/bin/sh
> /usr/bin/env ALWAYS_ASSUME_YES=yes /usr/local/sbin/pkg upgrade
For the record, it is "ASSUME_ALWAYS_YES".
> Then the user can set up a cronjob with that script.
Should that script include a 'pkg update' before 'pkg upgrade'?
--
https://mastodon.social/@nusenu
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/20180113/b8c6af15/attachment.bin>
More information about the Tor-BSD
mailing list