🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #318398

Re: YAMN v2.0.5 and Systemd service

#318398
From: Sinless Remop
Date: Sat, 05 Feb 2022 00:36
49 lines
4500 bytes
On 2022-02-04 17:36, Zax wrote:
> On Fri, 4 Feb 2022 21:11:10 +0000, Sinless Remop wrote in
> Message-Id: <20220204.211110.1d7d025a@mixmin.net>:
> 
> [snip]
> 
>> I am not using absolute paths in my yamn.yml file. Maybe that is where things are going wrong.
>> Here is what I have been using:
> 
>> -  -  -  -  -
>> general:
>>      loglevel: info
>>      logtofile: false
>> files:
>>      config: yamn.yml
>>      pubring: pubring.mix
>>      mlist2: mlist2.txt
>>      pubkey: key.txt
>>      secring: secring.mix
>>      adminkey: adminkey.txt
>>      help: help.txt
>>      pooldir: pool
>>      maildir: Maildir
>>      idlog: idlog
>>      chunkdb: chunkdb
>>      logfile: yamn.log
> 
> This is your problem.  When you're running under systemd, without a working
> directory defined in your unit file, it's treating these as absolute paths.  If
> you remove the entire files: section, then they will default to the --dir path
> you specify in your unit.  You can prove this by removing them and then
> running:
> 
> yamn --debug
> 
> You should see all of the entires in the files section defined as
> absolute within the --dir path.  I should have been clearer in my
> earlier posting: The debug flag isn't returning what you should define
> in your yml config file.  It's returning the entire config, including
> all the defaults.  You only need to define the things your want to
> adjust from default.  My yamn.yml contains:

Thanks for the clarification. I changed my yamn.yml. All is well now
with my systemd unit.

Cheers!

Sinless Remop
remop at sinless.space
Technical Details
Message-ID: <20220205.003617.a287ca01@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!not-for-mail
References: <slrnsvrak9.e3v.admin@fleegle.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <20220205.003617.a287ca01@mixmin.net>
Subject: Re: YAMN v2.0.5 and Systemd service
Date: Sat, 5 Feb 2022 00:36:17 +0000
From: Sinless Remop <noreply@mixmin.net>
References: <slrnsvrak9.e3v.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!not-for-mail
Injection-Info: neodome.net; posting-account="mail2news"; key="e9c4edcmDJ3oPncAjm9vRkO6UpxJijGzSPm9oxbHnnPKx0XC8C8LgoPqoTLZSgUf3/HDQ5 mHyeh5QOtgfkS2FFU+KPAglQbTAMe/g2Uw77ktz1K2kZrJGeEvB+EnCFOe1QWysuBcG9wtY0Drx p/9f+zjIcpuWrsyTxgp4flNS8ohYaqKtzbBSHvP1bi7b2CYV48EEAcZrXKGrAmN2utA66Vj03Cp SmEE6+kLjJrwtmuwKJUbSFEo2sHbzJPNJE8+FFFJNJtx/Xp90SJwIBIxiIdId3WQKYbh+BZUgNr AnZwZRwFnVX3YTJoV/fRYbHFaVoA/M1keayOdq1BFHJ6zLQ=="; data="U2FsdGVkX199mQt23U7Ub56M0mtzM9HcogjB0Pl3admTIApOxvPpw7XRIpRtd61yV8qur CDgInc5wso+0+ND8bD3iJhgSNB8iKHVie5p8zcEQ8trKeX9QHFUVYlo066/o9dpZazr+LRmA7CE JFHsVuKWBAla79hO5+MMlHfd9QwwsDbLsC5n6gdUXvNExeae9J2+KVelVHy8Z6qzBteLSW0gwzF KnV7AX708Wp2aWHY5iP6YuA54WDRj3syPB/y26ibeJSH47q5yWBtJHxk4IaWzkm2H/nwiVeUUE5 L1orla9xUEFaSKrekje19KvlzuYBvlK213AfkNIZ+M/9g6VwnRw1W7axSincinuybsXpN5nF415 1i0N+r8h7+FOWiUl/tPzxH38z/O6+2s3v6kpuNEgjwJug60+v2sw/aL7T+FduWtUHD8mUv3dCM8 gcifLAm2jAnp7Hqqrnlhme0CaSbfo67nhkEhqKecNFv0stzDW7Ye55WcVO6FOWBcuQYPKV7VYZ7 /zZAUv1Hor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oqUCpENKM5/Fudmnw4qZ0U8ySNgZa11O4Y= "; mail-complaints-to="abuse@neodome.net"
Newsgroups: alt.privacy.anon-server
Comments: This message was transferred to Usenet via mail2news gateway at <mail2news@neodome.net>. Please send questions and concerns to <admin@neodome.net>. Report inappropriate use to <abuse@neodome.net>.
Injection-Date: Sat, 5 Feb 2022 00:40:01 +0000 (UTC)