Re: el7 systemd :: usage of AssertPathExists

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 01/14/2018 08:08 PM, James Pearson wrote:
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
Thanks a lot!!! i did not process that i was looking at the man page of systemd.unit :))

Adrian

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux