[systemd-devel] Q: Using AssertPathExists in timer units

Windl, Ulrich u.windl at ukr.de
Fri Aug 2 06:44:34 UTC 2024


Hi!

I wonder: Say service A.service is started via A.timer, and A.service cannot run unless file B exists, so A.service uses AssertPathExists=B.
Will it make sense to repeat that requirement in A.timer? The idea was to prevent the timer from starting if the service would not start (due to missing B).

Regards,
Ulrich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20240802/df7b18c4/attachment-0001.htm>


More information about the systemd-devel mailing list