[Users] switching claws-mail offline with a script run by root
Paul
paul at claws-mail.org
Mon Oct 31 21:55:51 UTC 2022
On Mon, 31 Oct 2022 23:26:58 +0300
Boffi Daniele <3daniele03 at gmail.com> wrote:
> 1. the first instance shows up in /run/users/myid/...
> 2. the second one doesn't show up in /run/
> 3. both instances show up in /proc/pid_of_process/... in two different
> folders because they are associated with two different numbers
>
> Is there any way I can use the info under /proc when I run the script?
[Please avoid top-posting]
Probably you want to use the $XDG_RUNTIME_DIR env variable to find and use
the correct directory.
with regards
Paul
More information about the Users
mailing list