[CentOS] el7 systemd :: usage of AssertPathExists

Sun Jan 14 18:08:24 UTC 2018
James Pearson <james-p at moving-picture.com>

Adrian Sevcenco:
> Hi! I am trying to use AssertPathExists in a systemd unit but it seems
> it not working. Does anyone have problems with this?
> i have this in unit :
> AssertPathExists=
> AssertPathExists=/etc/mlsensor/mlsensor.properties

It might help if you post the whole unit file ... 

Which section of the unit file is this in?

It needs to be in the [Unit] section

James Pearson