Maintained by: NLnet Labs

[Unbound-users] a shell script to switch concurrent installed Unbound versions

Florian Lohoff
Sat Nov 20 20:42:11 CET 2010


On Thu, Nov 18, 2010 at 02:01:26PM +0100, Carsten Strotmann wrote:
> Hi,
> 
> I post this because it might be useful for other Unbound users as well:
> 
> we at Men & Mice install Unbound binaries into
> /usr/local/unbound-<version>, however the binaries are compiled to run
> from /usr/local/unbound. A symbolic link must be set from the current
> version installation directory to /usr/local/unbound.
> 
> This scheme enables many concurrent versions of Unbound to be installed
> by the local packaging system (RPM, DEB, PKG). This eases the testing of
> new versions and also a quick roll-back if needed to an previous version.
> 
> The script linked below automates the linking, it also provides a quick
> way to switch back to previous used version of Unbound.
> 
> https://otrs.menandmice.com/otrs/public.pl?Action=PublicFAQ&CategoryID=21&ItemID=97

I thought this is the use case stow was invented for?

Flo
PS: http://www.gnu.org/software/stow/ or apt-get install stow
-- 
Florian Lohoff                                                 f at zz.de
                 Professionell gesehen bin ich zu haben ....
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: Digital signature
URL: <http://unbound.nlnetlabs.nl/pipermail/unbound-users/attachments/20101120/5988f10b/attachment.pgp>