[systemd-devel] Not able to start Weston dependent application
Jérémy Rosen
jeremy.rosen at smile.fr
Wed Oct 31 10:32:45 UTC 2018
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 <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.
>>>
--
SMILE <http://www.smile.eu/>
20 rue des Jardins
92600 Asnières-sur-Seine
*Jérémy ROSEN*
Architecte technique
Responsable de l'expertise Smile-ECS
email jeremy.rosen at smile.fr <mailto:jeremy.rosen at smile.fr>
phone +33141402967
url http://www.smile.eu
Twitter <https://twitter.com/GroupeSmile> Facebook
<https://www.facebook.com/smileopensource> LinkedIn
<https://www.linkedin.com/company/smile> Github
<https://github.com/Smile-SA>
Découvrez l’univers Smile, rendez-vous sur smile.eu
<http://smile.eu/?utm_source=signature&utm_medium=email&utm_campaign=signature>
eco Pour la planète, n'imprimez ce mail que si c'est nécessaire
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20181031/fa026f03/attachment-0001.html>
More information about the systemd-devel
mailing list