Re: [systemd-devel] Path based activation error.

2018-10-05 Thread Lennart Poettering
On Fr, 14.09.18 09:50, deepan muthusamy ([email protected]) wrote: > 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: > > *myser

[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] 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

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