[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

Re: [systemd-devel] acpi_index value reported as 0 - not allowed?

2018-09-14 Thread Joe Hershberger
On Fri, Sep 14, 2018 at 10:30 AM Andrei Borzenkov wrote: > > 14.09.2018 17:08, Joe Hershberger пишет: > > 14 07:39:03 UTC 2018, Andrei Borzenkov wrote: > >> 13.09.2018 22:05, Joe Hershberger пишет: > >>> Hi, > >>> > >>> I have a system which reports acpi_index as 0, which matches the > >>> labelin

Re: [systemd-devel] acpi_index value reported as 0 - not allowed?

2018-09-14 Thread Andrei Borzenkov
14.09.2018 17:08, Joe Hershberger пишет: > 14 07:39:03 UTC 2018, Andrei Borzenkov wrote: >> 13.09.2018 22:05, Joe Hershberger пишет: >>> Hi, >>> >>> I have a system which reports acpi_index as 0, which matches the >>> labeling on the device. Looking at the source in udev, it seems to be >>> expecti

Re: [systemd-devel] acpi_index value reported as 0 - not allowed?

2018-09-14 Thread Joe Hershberger
14 07:39:03 UTC 2018, Andrei Borzenkov wrote: > 13.09.2018 22:05, Joe Hershberger пишет: > > Hi, > > > > I have a system which reports acpi_index as 0, which matches the > > labeling on the device. Looking at the source in udev, it seems to be > > expecting an index greater than 0. > > > > You shou

Re: [systemd-devel] Path based activation error

2018-09-14 Thread Andrei Borzenkov
14.09.2018 09:06, deepan muthusamy пишет: > Hi, > My myservice.path is as follows: > > [Unit] > PartOf=myservice.service > Do you intentionally want path unit to be stopped when triggered unit also stops? > [Path] > PathExists=/run/user/1000 > > [Install] > WantedBy=basic.target > > > > Iam

Re: [systemd-devel] acpi_index value reported as 0 - not allowed?

2018-09-14 Thread Andrei Borzenkov
13.09.2018 22:05, Joe Hershberger пишет: > Hi, > > I have a system which reports acpi_index as 0, which matches the > labeling on the device. Looking at the source in udev, it seems to be > expecting an index greater than 0. > You should have at least mentioned what system it is. > Looking at

[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?? _