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:
> 
> *myservice.path: Refusing to start, unit to trigger not loaded.*
> 
> Want can be the possible reason for error.

Most likely there's something wrong in the service unit you want to
start i.e. in myservice.service. For example both ExecStart= and
ExecStop= missing or so... Check the logs.

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to