[systemd-devel] Path based activation

Lennart Poettering lennart at poettering.net
Wed Sep 12 17:55:52 UTC 2018


On Mi, 12.09.18 19:17, deepan muthusamy (deepan.m2903 at gmail.com) wrote:

> In my case , I want to check whether the filesystem path is available or
> not ( for example, /run/user/0). If this path is available I want to start
> my service.
> 
> How to do this?? Can I use the same method which you mentioned?

Use PathExists= instead of PathModified=.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list