Re: XDG_RUNTIME_DIR on a system with no "logins"

2019-12-19 Thread Pekka Paalanen
On Thu, 19 Dec 2019 10:33:09 + Alan Griffiths wrote: > On 19/12/2019 10:28, Guillermo Rodriguez wrote: > > Uhm. I am not sure I can switch to systemd at this point. > > How does this (Weston being ready / not ready) look like from the client > > side? > > > > i.e. if I want to make sure the

Re: XDG_RUNTIME_DIR on a system with no "logins"

2019-12-19 Thread Jan Engelhardt
On Thursday 2019-12-19 11:13, Guillermo Rodriguez Garcia wrote: >> >> If you used systemd, Weston has integration for that, both startup >> notification to ensure dependent services are started only after >> Weston is ready and socket activation should you choose to want >> that. > >Uhm. I am not

Re: XDG_RUNTIME_DIR on a system with no "logins"

2019-12-19 Thread Alan Griffiths
On 19/12/2019 10:28, Guillermo Rodriguez wrote: > Uhm. I am not sure I can switch to systemd at this point. > How does this (Weston being ready / not ready) look like from the client side? > > i.e. if I want to make sure the client is launched once Weston is ready, > 1. Is there any way to manually

XDG_RUNTIME_DIR on a system with no "logins"

2019-12-19 Thread Guillermo Rodriguez
El jue., 19 dic. 2019 a las 9:15, Pekka Paalanen () escribió: > > On Wed, 18 Dec 2019 13:10:14 +0100 > Guillermo Rodriguez wrote: > > > In my application I need to run several clients, and each one is started > > from a separate SysV init script. I guess that I will need to define the > > XDG_RUNT

Re: XDG_RUNTIME_DIR on a system with no "logins"

2019-12-19 Thread Pekka Paalanen
On Wed, 18 Dec 2019 13:10:14 +0100 Guillermo Rodriguez wrote: > In my application I need to run several clients, and each one is started > from a separate SysV init script. I guess that I will need to define the > XDG_RUNTIME_DIR env var to point to this "made up" location in each > script. A bit

Re: XDG_RUNTIME_DIR on a system with no "logins"

2019-12-18 Thread Simon McVittie
On Wed, 18 Dec 2019 at 13:10:14 +0100, Guillermo Rodriguez wrote: > > > >But how is this done for a system where normally no users "log in", > > > >e.g. a fixed-function embedded system with a graphical user interface? Decide what "logging in" means for you, and make it work like that. Imagine fo

Re: XDG_RUNTIME_DIR on a system with no "logins"

2019-12-18 Thread Guillermo Rodriguez
El mié., 18 dic. 2019 a las 10:56, Pekka Paalanen () escribió: > > On Tue, 17 Dec 2019 19:18:15 +0100 (CET) > Jan Engelhardt wrote: > > > On Tuesday 2019-12-17 18:55, Guillermo Rodriguez wrote: > > > > >Hi all, > > > > > >Weston requires XDG_RUNTIME_DIR to exist. The specification for this > > >(h

Re: XDG_RUNTIME_DIR on a system with no "logins"

2019-12-18 Thread Pekka Paalanen
On Tue, 17 Dec 2019 19:18:15 +0100 (CET) Jan Engelhardt wrote: > On Tuesday 2019-12-17 18:55, Guillermo Rodriguez wrote: > > >Hi all, > > > >Weston requires XDG_RUNTIME_DIR to exist. The specification for this > >(https://specifications.freedesktop.org/basedir-spec/latest/ar01s03.html) > >says:

Re: XDG_RUNTIME_DIR on a system with no "logins"

2019-12-17 Thread Jan Engelhardt
On Tuesday 2019-12-17 18:55, Guillermo Rodriguez wrote: >Hi all, > >Weston requires XDG_RUNTIME_DIR to exist. The specification for this >(https://specifications.freedesktop.org/basedir-spec/latest/ar01s03.html) >says: > >=== >$XDG_RUNTIME_DIR defines the base directory relative to which >user-spe

XDG_RUNTIME_DIR on a system with no "logins"

2019-12-17 Thread Guillermo Rodriguez
Hi all, Weston requires XDG_RUNTIME_DIR to exist. The specification for this (https://specifications.freedesktop.org/basedir-spec/latest/ar01s03.html) says: === $XDG_RUNTIME_DIR defines the base directory relative to which user-specific non-essential runtime files and other file objects (such as