Jack Spaar wrote:
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
Thanks for the tip, I wasn't aware of $PAN_HOME (time to RTFM). Much
better than renaming the files.
I've been trying to figure out how to run 2 copies of pan, maybe this
is the answer. I'll definitely try it.
Thanks
John
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list