[systemd-devel] Path based activation error

Andrei Borzenkov arvidjaar at gmail.com
Fri Sep 14 10:17:49 UTC 2018


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

Does myservice.service exist?


More information about the systemd-devel mailing list