[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with Shepherd after `guix home reconfigure`
From: |
Tanguy LE CARROUR |
Subject: |
Re: Problem with Shepherd after `guix home reconfigure` |
Date: |
Mon, 28 Aug 2023 08:27:15 +0200 |
User-agent: |
alot/0.10 |
Hi Hilton,
Quoting Hilton Chain (2023-08-25 09:34:09)
> On Fri, 25 Aug 2023 14:59:03 +0800,
> Tanguy LE CARROUR wrote:
> > I have no XDG "log" variable, but the `shepherd.log` in
> > `~/.local/state/log/`
> > contains today's log, so… I guess it can write to the log folder.
> > The strange thing is that today mcron's log is in
> > `~/.local/state/shepherd/`?! 🤔
>
> From the definition in (shepherd support), the location is expected:
> --8<---------------cut here---------------start------------->8---
> (define %user-log-dir
> ;; Default log directory if shepherd is run as a normal user.
> (string-append (or (getenv "XDG_STATE_HOME")
> (string-append user-homedir "/.local/state"))
> "/shepherd"))
> --8<---------------cut here---------------end--------------->8---
>
> And ~/.local/state/log/mcron.log was used before changing to
> %user-log-dir:
> --8<---------------cut here---------------start------------->8---
> #:log-file (string-append
> (or (getenv "XDG_STATE_HOME")
> (format #f "~a/.local/state"
> (getenv "HOME")))
> "/log/mcron.log")
> --8<---------------cut here---------------end--------------->8---
Thanks for taking the time to explain! I'll remove the old ones.
Regards,
--
Tanguy
- Re: Problem with Sheperd after `guix home reconfigure`, (continued)
- Re: Problem with Sheperd after `guix home reconfigure`, Andreas Enge, 2023/08/22
- Re: Problem with Shepherd after `guix home reconfigure`, Tanguy LE CARROUR, 2023/08/22
- Re: Problem with Shepherd after `guix home reconfigure`, nils, 2023/08/29
- Re: Problem with Shepherd after `guix home reconfigure`, Tanguy LE CARROUR, 2023/08/25
- Re: Problem with Shepherd after `guix home reconfigure`, Hilton Chain, 2023/08/25
- Re: Problem with Shepherd after `guix home reconfigure`,
Tanguy LE CARROUR <=