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

Pekka Paalanen ppaalanen at gmail.com
Wed Oct 31 10:14:15 UTC 2018


On Wed, 31 Oct 2018 15:26:06 +0530
deepan muthusamy <deepan.m2903 at gmail.com> 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_requests/39/diffs

Weston with Type=simple cannot be reliable. Instead, you are
intended to use the Weston plugin that integrates explicitly with
systemd. Examples are in that MR.


Thanks,
pq

> 
> On Wed, 31 Oct 2018, 1:45 pm Jérémy Rosen, <jeremy.rosen at smile.fr> 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 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 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 able to find weston.
> >
> > If I start both manually, it's working fine.
> >
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20181031/8e4d0a9f/attachment.sig>


More information about the systemd-devel mailing list