Article View: alt.privacy.anon-server
Article #304793Re: yamn not accepting parameter
From: inwtx
Date: Wed, 15 May 2019 20:57
Date: Wed, 15 May 2019 20:57
48 lines
2275 bytes
2275 bytes
> > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > On Wed, 15 May 2019 21:55:34 +0200, Stefan Claas wrote in > Message-Id: <qbhqrn$71t$12@dont-email.me>: > > >> Am Wed, 15 May 2019 21:46:05 +0200 >> schrieb Stefan Claas <sac@300baud.de>: >> >>> Yes, I know what you mean and I think my >>> answer was clear enough. >> >> To make it more clear, the word or string "pool" >> is so to speak hardcoded: >> >> if you look at the config.go file at line 173 it says: >> >> cfg.Files.Pooldir = path.Join(flag_basedir, "pool") >> >> which tells me that YAMN is looking for a folder >> named "pool" regardless of it's location. > > I don't think that's actually right. The line you've posted defines the > default value of cfg.Files.Pooldir. By default it takes the > flag_basedir value and appends "/pool" on the end of it. If someone > chooses to override the default with, for example: > > Files > Pooldir = /var/spool/ponies > > If should use /var/spool/ponies as the Pooldir. > > The flag_basedir doesn't have a strict default but Yamn tries to > determine a reasonable setting. It applies the following sequence: > 1) Use the dir passed in the --basedir flag > 2) If defined, use the Environment Variable YAMNDIR > 3) If there's a yamn.cfg in the PWD, set that as the basedir. > 4) If there's a subdir called yamn under the HOMEDIR, use that as basedir > 5) If there's a yamn.cfg in /etc/yamn, use /etc/yamn as basedir I was following Stefan logic, so that is even better. I'll try it with YAMNclient sometime and see how it wlrks.
Technical Details
Message-ID:
<qbhug5$k8q$1@news.mixmin.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mailReferences:
<slrnqdouil.u39.admin@fleegle.mixmin.net>Show Full Headers
Complete Article Headers
Message-ID: <qbhug5$k8q$1@news.mixmin.net> Subject: Re: yamn not accepting parameter Date: Wed, 15 May 2019 15:57:40 -0500 From: "inwtx" <noreply@inwtx.net> References: <slrnqdouil.u39.admin@fleegle.mixmin.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail Newsgroups: alt.privacy.anon-server Organization: Mixmin Injection-Date: Wed, 15 May 2019 20:57:43 -0000 (UTC) Injection-Info: news.mixmin.net; posting-host="6b9cb54a611e3dd6573ea410f65824d35f63fd69"; Lines: 48