pan

Jack Spaar jspaar at users.sourceforge.net
Thu Nov 2 22:09:51 UTC 2006


On Thu, 02 Nov 2006 09:32:54 -0800, John Wendel wrote:
> 
> Since the primary/fallback thing doesn't work for me, I'll share what 
> I did.
> 
> First I configured pan with "news_server_1" and then shut it down. I 
> then renamed the ".pan2" directory to "pan2_server1". Next I started 
> pan again and configured "news_server_2", shut it down, and renamed 
> ".pan2" to "pan2_server2". Now I can select a news server by renaming 
> either "pan2_server1" or "pan2_server2" to ".pan2", and starting pan. 
> When I'm done, I rename .pan2 back to the original name. A simple 
> script makes this all transparent.
> 

That's a useful idea.  For that matter you could set the PAN_HOME
environment variable instead of changing the .pan2 directory name:

	$ PAN_HOME=~/pan2_server1 pan
and
	$ PAN_HOME=~/pan2_server2 pan

6 of 1...
--Jack




More information about the users mailing list