Re: service dependencies

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

 



Thank you both for your replies and suggestions.
I assume this one is related: https://github.com/systemd/systemd/issues/1312
And yes, I found a lot of posts about this, but no real solution.

I will further read further details about 'Upholds' and 'PropagatesStopTo.

The real use case I need to solve involves another service.

test2 not only requires test1 but also test0.
So, test2 should only be actived if test1 and test0 are activated.

The optimal solution IMHO does not require to change test0 or test1. As test2 is the one with the requirements.

I assume I can use WantedBy in the install section of test2, but this would require that the service is enabled / installed and not only started (for my use case okay, but IMHO not optimal).

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux