Re: [systemd-devel] Access session bus from service application

2018-08-14 Thread deepan muthusamy
application trying to get session dbus connection, it is failing. I come to know that it is possible from your previous replies. But I don't know how to do that. Can you please help me this? On Tue, 14 Aug 2018, 10:15 am Mantas Mikulėnas, wrote: > On Tue, Aug 14, 2018 at 7:21 AM deepan muthus

[systemd-devel] Access session bus from service application

2018-08-13 Thread deepan muthusamy
I have an application which has to communicate with systemd to monitor other process and it has to communicate with other session applications , so my application is designed to communicate to both session dbus and system dbus. And also my application has to be started as service by systemd. How

[systemd-devel] systemd service not connecting to session dbus

2018-08-13 Thread Deepan Muthusamy
After= dbus.socket [Service] Type=dbus BusName=org.client ExecStart=/usr/local/bin/myExe TimeoutSec=300 WatchdogSec=20 [Install] WantedBy=basic.target Operating system: Ubuntu 16.04 (64-bit) DEEPAN MUTHUSAMY, TATA CONSULTANCY SERVICE, mobile no: +91 8012309210

Re: [systemd-devel] systemd service not connecting to session dbus

2018-08-13 Thread Deepan Muthusamy
My application has to communicate to both system dbus and session dbus and I want to start my application through systemd. How to do that? DEEPAN MUTHUSAMY, TATA CONSULTANCY SERVICE, mobile no: +91 8012309210 From: systemd-devel on behalf of systemd

Re: [systemd-devel] systemd service not connecting to session dbus

2018-08-13 Thread Deepan Muthusamy
to start at boot time by systemd. Is it possible? If possible what are all the changes I have to make? My target board is rcar H3. My target os is yocto project with genivi meta ivi system. DEEPAN MUTHUSAMY, TATA CONSULTANCY SERVICE, mobile no: +91 8012309210

Re: [systemd-devel] Access session bus from service application

2018-08-14 Thread deepan muthusamy
Thank you for the clarification. On Tue, 14 Aug 2018, 3:22 pm Mantas Mikulėnas, wrote: > On Tue, Aug 14, 2018 at 11:49 AM deepan muthusamy > wrote: > >> I have to start all my applications through systemd. But when I am trying >> to start even A2, A3, A4 also i a

Re: [systemd-devel] not able to access system service from session service

2018-08-20 Thread deepan muthusamy
diskspace limit. (Frédéric HILPERT) >2. Not able to access system device from session service > (deepan muthusamy) >3. Re: Not able to access system device from session service > (Silvio Knizek) >4. systemd oneshot service stop on shutdown problem >

[systemd-devel] Not able to access system device from session service

2018-08-20 Thread deepan muthusamy
I started one application as system service in /etc/systemd/system by giving command "systemctl start mysystem.service". I have one more application which i have to start as session service in etc/systemd/user by giving command "systemctl --user start mysession.service". My session.service has

[systemd-devel] Touch enabled application not working

2018-08-29 Thread deepan muthusamy
Hi, I have a hmi application(without touch feature enabled) created using cgi. If I start that application under basic.target, it's running successfully. But if I start that application( with touch enabled) under basic.target it is failing to start. Even systemctl --user start hmi.service also

Re: [systemd-devel] Touch enabled application not working

2018-08-29 Thread deepan muthusamy
depend on any services, > any hardware devices? > > Are you starting the application as a system service, or as a --user > service? > > Why are you using basic.target? > > On Wed, Aug 29, 2018 at 3:55 PM deepan muthusamy > wrote: > >> Hi, >> I have a hm

[systemd-devel] Launch at tty7

2018-10-30 Thread deepan muthusamy
I have one doubt that, if I launch app1 under tty1 andapp2 at tty7. If I add after dependency in app2 for app1( After=app1.service in app2.service). will this dependency work? How to launch an application at specific try(like under tty7)? ___

[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

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

2018-10-31 Thread deepan muthusamy
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 depend

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

2018-11-02 Thread deepan muthusamy
Hi, I followed the steps in https://gitlab.freedesktop.org/wayland/weston/merge_requests/39/diffs It's working fine. Thank you all.. On Wed, 31 Oct 2018, 5:49 pm Jérémy Rosen, wrote: > > > On 31/10/2018 12:40, Pekka Paalanen wrote: > > On Wed, 31 Oct 2018 11:32:45 +0100 > Jérémy Rosen

[systemd-devel] Systemd service taking huge memory

2018-11-08 Thread deepan muthusamy
If I start my application as system service, it is consuming huge memory. This leads to my system getting slow down. If I start manually, it's not consuming that much memory. What can be the possible reasons? ___ systemd-devel mailing list

[systemd-devel] Data flow is slow

2018-11-08 Thread deepan muthusamy
I have two applications. App1 is UI application. App2 is console application. Both are communicating through Dbus(session). If I press a button in app1, aap2 should receive the data immediately. If I start both of them manually , they are working as expected. If I start as system service, it is

Re: [systemd-devel] Data flow is slow

2018-11-08 Thread deepan muthusamy
On Thu, 8 Nov 2018, 11:28 pm Mantas Mikulėnas On Thu, Nov 8, 2018 at 3:27 PM deepan muthusamy > wrote: > >> I have two applications. App1 is UI application. App2 is console >> application. >> Both are communicating through Dbus(session). If I press a button in >

[systemd-devel] std::cout statements in journalctl

2018-11-09 Thread deepan muthusamy
Will journalctl shows std::cout outputs of a service ? ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

[systemd-devel] Systemd service consuming 100% cpu

2018-11-23 Thread deepan muthusamy
If I start my application manually, CPU consumption is less than 2%. If I start same application as system service, CPU consumption is more than 100%. There is no cout statements in my application. I tried to start under a *screen* as system service. This time consumption has reduced little

[systemd-devel] Systemd logging..

2018-11-21 Thread deepan muthusamy
Hi, How to log systemd service into log.txt file. This file should be available after system restart also. How to do this? ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Systemd logging..

2018-11-21 Thread deepan muthusamy
Hi, Still iam not clear about what to do in service. Can u please tell me what are all the things I have to add in .service file to store all logs into a log file. On Wed, 21 Nov 2018, 2:23 pm deepan muthusamy Hi, > How to log systemd service into log.txt file. > This file should be ava

[systemd-devel] Path based activation error

2018-09-14 Thread deepan muthusamy
I subscribed to mailing list, eventhough iam not getting mail notification everytime. So in continuation to previous message https://lists.freedesktop.org/archives/systemd-devel/2018-September/041365.html I want my myservice.service should start when this path is available. Yaa, Path unit should

[systemd-devel] Path based activation error.

2018-09-14 Thread deepan muthusamy
Hi, My myservice.path is as follows: *[Unit]* *PartOf=myservice.service* *[Path]* *PathExists=/run/user/1000* *[Install]* *WantedBy=basic.target* Iam getting the following error: *myservice.path: Refusing to start, unit to trigger not loaded.* Want can be the possible reason for error.

[systemd-devel] Path based activation error

2018-09-14 Thread deepan muthusamy
Hi, My myservice.path is as follows: [Unit] PartOf=myservice.service [Path] PathExists=/run/user/1000 [Install] WantedBy=basic.target Iam getting the following error: myservice.path: Refusing to start, unit to trigger not loaded. Want can be the possible reason for error??

[systemd-devel] Dbus service

2018-09-18 Thread deepan muthusamy
What is the difference between dbus service and bus-activatable service? ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

[systemd-devel] Permanent environment variable

2018-09-12 Thread deepan muthusamy
How to set up environmental variable common for all system services. For example, If I set environment variable(Environment="variable=data") in mysystem.service file, it's scope is in that file only. I want that variable available to all service file. What should I do?

[systemd-devel] Path based activation

2018-09-12 Thread deepan muthusamy
Can anyone give a demo of how path based activation works? I referred cups Daemon, but the same thing not working for me.. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Path based activation

2018-09-12 Thread deepan muthusamy
12, 2018 at 4:19 PM deepan muthusamy > wrote: > >> Can anyone give a demo of how path based activation works? >> >> I referred cups Daemon, but the same thing not working for me.. >> > > Path based activation is one of the simpler types – it waits for inot

Re: [systemd-devel] Systemd-analyze time not giving kernal bootup time.

2019-01-28 Thread deepan muthusamy
"systemd-analyze time" directly provides time. I don't know about journalctl MESSAGE_ID. On Mon, 28 Jan 2019, 5:40 pm Mantas Mikulėnas On Mon, Jan 28, 2019 at 11:22 AM deepan muthusamy > wrote: > >> My target(RCAR-H3) runs with yocto project have boot up time of 13 >>

Re: [systemd-devel] Systemd-analyze time not giving kernal bootup time.

2019-01-28 Thread deepan muthusamy
md is run inside a > container (since it makes no sense). There might be something wrong with > container detection here, though... > > Le lun. 28 janv. 2019 à 10:22, deepan muthusamy > a écrit : > >> My target(RCAR-H3) runs with yocto project have boot up time of 13 >> s

[systemd-devel] Systemd-analyze time not giving kernal bootup time.

2019-01-28 Thread deepan muthusamy
My target(RCAR-H3) runs with yocto project have boot up time of 13 seconds before init starts as of my observation. because I am starting Weston in basic.target which is starting after 13 seconds from the time I pressed power button. Note: I am booting the board from SD card(The image is in SD