Hi Deepan,
Do you have any Weston logs when it restarts? Maybe you want to add --log 
option to redirect all output to some log file and share that with us?
-Satyeshwar

From: wayland-devel [mailto:wayland-devel-boun...@lists.freedesktop.org] On 
Behalf Of deepan muthusamy
Sent: Friday, September 21, 2018 3:47 AM
To: Daniel Stone <dan...@fooishbar.org>
Cc: Andrea Giammarchi <andrea.giammar...@gmail.com>; 
wayland-devel@lists.freedesktop.org
Subject: Re: Weston at bootup

Hi,

I tried the same thing in the link which you provided. It's starting but Weston 
is getting restart for every 90 sec.

My service file is as follows:

[Unit]
Description: launch Weston

Requires= dbus.socket dbus.service systemd-user-sessions.service

After= dbus.socket dbus.service systemd-user-sessions.service

[Service]
Type= notify
User=root
Restart=on-failure
ExecStart=/use/bin/Weston
PAMName=login
StandardInput=tty-fail
TTYPath=/dev/tty7
TTYReset=yes
TTYVHangup=yes
TTYVTDisallocate=yes
UtmpIdentifier=tty7
UtmpMode=user

[Install]
WantedBy=basic.target




"systemctl status launch Weston.service" gives

Account root has password changed in future.
Session opened for user root by root(uid=0)


What can be the possible reason?

On Tue, 18 Sep 2018, 9:59 pm Daniel Stone, 
<dan...@fooishbar.org<mailto:dan...@fooishbar.org>> wrote:
Hi Deepan,

On Tue, 18 Sep 2018 at 17:24, deepan muthusamy 
<deepan.m2...@gmail.com<mailto:deepan.m2...@gmail.com>> wrote:
Did you launched as session service?

I want to launch as system service. Have you tried that?

It sounds like you are having a problem, but there aren't enough details in 
your mails for us to help you. Have you already tried running it? There is an 
example systemd unit file given for running as a system service posted in this 
thread, which is the first Google hit for 'weston systemd': have you tried that?

https://lists.freedesktop.org/archives/wayland-devel/2017-November/035973.html

If this is not sufficient, please follow up with specifics of what you have 
actually tried, and how that is failing for you (what you expected to happen, 
what really happened, any log output, etc).

Cheers,
Daniel
_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to