Re: [systemd-devel] Not able to start Weston dependent application

2018-10-31 Thread Jérémy Rosen
On 31/10/2018 12:40, Pekka Paalanen wrote: On Wed, 31 Oct 2018 11:32:45 +0100 Jérémy Rosen wrote: socket-activated weston ? nice :) Why does weston require logind ? I work in the embedded world and we usually disable logind entirely (no users in the "human user" meaning of the term) That'

Re: [systemd-devel] Not able to start Weston dependent application

2018-10-31 Thread Pekka Paalanen
On Wed, 31 Oct 2018 11:51:47 +0100 Jérémy Rosen wrote: > Pekka : is the notify plugin already upstreamed ? if yes, loading it and > setting Type=notify might work... Yes, it's upstream. The only thing not upstream is the documentation on how to actually use that stuff with systemd units. :-P

Re: [systemd-devel] Not able to start Weston dependent application

2018-10-31 Thread Pekka Paalanen
On Wed, 31 Oct 2018 11:32:45 +0100 Jérémy Rosen wrote: > socket-activated weston ? > > nice :) > > Why does weston require logind ? I work in the embedded world and we > usually disable logind entirely (no users in the "human user" meaning of > the term) That's when you run Weston as a norma

Re: [systemd-devel] Not able to start Weston dependent application

2018-10-31 Thread Jérémy Rosen
Pekka : is the notify plugin already upstreamed ? if yes, loading it and setting Type=notify might work... On 31/10/2018 11:45, Lennart Poettering wrote: On Mi, 31.10.18 15:26, deepan muthusamy (deepan.m2...@gmail.com) wrote: I added both after and requires.What you meant by security feature?

Re: [systemd-devel] Not able to start Weston dependent application

2018-10-31 Thread Lennart Poettering
On Mi, 31.10.18 15:26, deepan muthusamy (deepan.m2...@gmail.com) wrote: > I added both after and requires.What you meant by security feature?@rosan > > Type I made as simple.@ Lennart That's not going to work. If you use Type=simple, then system will consider the service to be up as soon as syst

Re: [systemd-devel] Not able to start Weston dependent application

2018-10-31 Thread Jérémy Rosen
socket-activated weston ? nice :) Why does weston require logind ? I work in the embedded world and we usually disable logind entirely (no users in the "human user" meaning of the term) On 31/10/2018 11:14, Pekka Paalanen wrote: On Wed, 31 Oct 2018 15:26:06 +0530 deepan muthusamy wrote:

Re: [systemd-devel] Not able to start Weston dependent application

2018-10-31 Thread Pekka Paalanen
On Wed, 31 Oct 2018 15:26:06 +0530 deepan muthusamy wrote: > I added both after and requires.What you meant by security feature?@rosan > > Type I made as simple.@ Lennart Hi Deepan, you really should follow the documentation added by this MR: https://gitlab.freedesktop.org/wayland/weston/merge

Re: [systemd-devel] Not able to start Weston dependent application

2018-10-31 Thread deepan muthusamy
I added both after and requires.What you meant by security feature?@rosan Type I made as simple.@ Lennart On Wed, 31 Oct 2018, 1:45 pm Jérémy Rosen, wrote: > Did you add an "After=" too ? you need both a Requires= and an After= > Did you activate any security feature that might hide the waylan

Re: [systemd-devel] Not able to start Weston dependent application

2018-10-31 Thread Lennart Poettering
On Mi, 31.10.18 12:51, deepan muthusamy (deepan.m2...@gmail.com) wrote: > Hi, > I started app1(this is a UI application) as system service . > I started app2( this is Weston ) also as system service. But in different > tty(tty7). > > App1 is depended on app2 to start. > I added that dependency. >

Re: [systemd-devel] Not able to start Weston dependent application

2018-10-31 Thread Jérémy Rosen
Did you add an "After=" too ? you need both  a Requires= and an After= Did you activate any security feature that might hide the wayland socket from app2 ? On 31/10/2018 08:21, deepan muthusamy wrote: Hi, I started app1(this is a UI application) as system service . I started app2( this is West

[systemd-devel] Not able to start Weston dependent application

2018-10-31 Thread deepan muthusamy
Hi, I started app1(this is a UI application) as system service . I started app2( this is Weston ) also as system service. But in different tty(tty7). App1 is depended on app2 to start. I added that dependency. App2 is started but app1 not able to find that dependency. Iam getting error as not abl