Re: [systemd-devel] Systemd -- Using Environment variable in a Unit file from Environment File

2017-05-28 Thread Raghavendra. H. R
Guys, Any suggestions about this kind of problem ? -- Regards, Raghavendra. H. R (Raghu) On Fri, May 26, 2017 at 3:06 PM, Raghavendra. H. R <raghuh...@gmail.com> wrote: > Hi All, > > I'm in the situation where path of my server changes due to version > change. I don't

[systemd-devel] Systemd -- Using Environment variable in a Unit file from Environment File

2017-05-26 Thread Raghavendra. H. R
[Install] WantedBy=multi-user.target I'm stuck with the below error *error: Cannot find module '/server.js'* ${SERVER_PATH} is not set to my WorkingDirectory. Instead of using this variable, if I give the absolute path, my unit file works well. Need help in resoling this issue. -- Regards, Raghave

[systemd-devel] Multiple notifications using sd_notify

2016-11-25 Thread Raghavendra. H. R
nt times ? -- Regards, Raghavendra. H. R (Raghu) ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Query regarding NOTIFY_SOCKET

2016-11-08 Thread Raghavendra. H. R
]* *Description=Second Sd_notify example* *After=one.service* *[Service]* *ExecStart=/etc/Second_Myapp* *[Install]* *WantedBy=multi-user.target* I dont see second.service starting after sd_notify is done from one.service. Regards, Raghavendra H R -- Regards, Raghavendra. H. R (Raghu) On Tue, Nov 8

Re: [systemd-devel] Query regarding NOTIFY_SOCKET

2016-11-08 Thread Raghavendra. H. R
-user.target* *Regards,* *Raghavendra H R* -- Regards, Raghavendra. H. R (Raghu) On Tue, Nov 8, 2016 at 7:14 PM, Alessandro Puccetti <alessan...@kinvolk.io> wrote: > > > On Tue, Nov 8, 2016 at 2:28 PM, Raghavendra. H. R <raghuh...@gmail.com> > wrote: > >> Hi Toma

Re: [systemd-devel] Query regarding NOTIFY_SOCKET

2016-11-08 Thread Raghavendra. H. R
= sd_notify(0, "READY=1");* * printf("Return value = %d \n");* * }* * }* Regards, Raghavendra H R -- Regards, Raghavendra. H. R (Raghu) On Tue, Nov 8, 2016 at 5:15 PM, Tomasz Torcz <to...@pipebreaker.pl> wrote: > On Tue, Nov 08, 2016 at 05:01:59PM +0530, Raghavendra. H. R wro

[systemd-devel] Query regarding NOTIFY_SOCKET

2016-11-08 Thread Raghavendra. H. R
provide your inputs regarding NOTIFY_SOCKET. -- Regards, Raghavendra. H. R (Raghu) ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Applications using mulitple fork() in SystemD

2016-10-24 Thread Raghavendra. H. R
it should take all the binaries from PATH environment variable right. ​ -- Regards, Raghavendra. H. R (Raghu) On Mon, Oct 24, 2016 at 10:43 PM, Andrei Borzenkov <arvidj...@gmail.com> wrote: > 24.10.2016 20:03, Raghavendra. H. R пишет: > > Hi All, > > > > I'm a new

[systemd-devel] Applications using mulitple fork() in SystemD

2016-10-24 Thread Raghavendra. H. R
this problem statement. -- Regards, Raghavendra. H. R (Raghu) ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Auto-start of a Service in systemd

2016-10-05 Thread Raghavendra. H. R
if I remove the rescue services dependency from multi-user.target and add it as dependency then my service should come up without failures. Thanks for your valuable feedback. Regards, Raghavendra H R -- Regards, Raghavendra. H. R (Raghu) On Wed, Oct 5, 2016 at 4:55 PM, Andrei Borzenkov <arvi

Re: [systemd-devel] Auto-start of a Service in systemd

2016-10-05 Thread Raghavendra. H. R
It's working fine now. We should give the default target of the system for *WantedBy= *of the Install section. So I used graphical.target in the Install section and it fixed my issue. Thanks for the information. -- Regards, Raghavendra. H. R (Raghu) On Wed, Oct 5, 2016 at 3:12 PM

Re: [systemd-devel] Auto-start of a Service in systemd

2016-10-05 Thread Raghavendra. H. R
tive (dead)* For *WantedBy= *which attribute should be given, whether it is "default.target" or the default target of the system ? Running *systemctl get-default* shows graphical.target as the default target. -- Regards, Raghavendra. H. R (Raghu) On Wed, Oct 5, 2016 at 2:59 PM, Andr

[systemd-devel] Auto-start of a Service in systemd

2016-10-05 Thread Raghavendra. H. R
[Install] WantedBy=multi-user.target *or* sysinit.target -- Regards, Raghavendra. H. R (Raghu) ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Is it possible to load unit files from paths other than default paths ?

2016-09-26 Thread Raghavendra. H. R
using which we can configure the environment variable. Regards, Raghu. -- Regards, Raghavendra. H. R (Raghu) On Mon, Sep 26, 2016 at 1:59 PM, Andrei Borzenkov <arvidj...@gmail.com> wrote: > On Mon, Sep 26, 2016 at 10:59 AM, Raghavendra. H. R <raghuh...@gmail.

Re: [systemd-devel] Is it possible to load unit files from paths other than default paths ?

2016-09-26 Thread Raghavendra. H. R
. Gave the environment variable along with DefaultEnvinronment tag DefaultEnvironment=SYSTEMD_UNIT_PATH=/BingoDast/units Regards, Raghu -- Regards, Raghavendra. H. R (Raghu) On Mon, Sep 26, 2016 at 1:07 PM, Andrei Borzenkov <arvidj...@gmail.com> wrote: > On Mon, Sep 26, 2016 at

Re: [systemd-devel] Is it possible to load unit files from paths other than default paths ?

2016-09-26 Thread Raghavendra. H. R
But SYTEMD_UNIT_PATH isn't working. I added my executables path for this env variable but whatever I add isn't reflected for this variable. If I do echo of $SYSTEMD_UNIT_PATH. Its all empty. My executables are not able to find the path and it is not running. -- Regards, Raghavendra. H. R (Raghu

Re: [systemd-devel] Is it possible to load unit files from paths other than default paths ?

2016-09-26 Thread Raghavendra. H. R
vendra. H. R (Raghu) On Fri, Sep 23, 2016 at 12:00 PM, Kai Krakow <hurikha...@gmail.com> wrote: > Am Thu, 22 Sep 2016 11:43:56 +0530 > schrieb "Raghavendra. H. R" <raghuh...@gmail.com>: > > > Thank you for the suggestions. > > But with

Re: [systemd-devel] Is it possible to load unit files from paths other than default paths ?

2016-09-22 Thread Raghavendra. H. R
ough to execute or link the library. Probably this kind of facility is not available in Systemd init systems. Regards, Raghavendra H R On Thu, Sep 22, 2016 at 12:34 AM, Kai Krakow <hurikha...@gmail.com> wrote: > Am Wed, 21 Sep 2016 16:56:52 +0530 > schrieb "Raghavendra. H. R&

Re: [systemd-devel] Is it possible to load unit files from paths other than default paths ?

2016-09-22 Thread Raghavendra. H. R
rary. Probably this kind of facility is not available in Systemd init systems. -- Regards, Raghavendra. H. R (Raghu) On Wed, Sep 21, 2016 at 10:40 PM, Andrei Borzenkov <arvidj...@gmail.com> wrote: > 21.09.2016 14:26, Raghavendra. H. R пишет: > > Hi, > > > > I'm newbie with

[systemd-devel] Is it possible to load unit files from paths other than default paths ?

2016-09-21 Thread Raghavendra. H. R
and found the error *"Failed to start startup.service: Unit startup.service failed to load: No such file or directory."* Is it possible to achieve this ? -- Regards, Raghavendra. H. R (Raghu) ___ systemd-devel mailing list sys