Systemd – fun with targets dependencies

If you have a target B.target which wants/requires S.service and you want S.service to start after A.target – it isn’t sufficient to state B.target ‘requires’ and ‘after’ A.target. If you just do that, S.service will start based on its own requires/afters – usually much earlier than after A.target. You also need to state that S.service ‘requires’ and ‘after’ A.target.
This entry was posted in systemd. Bookmark the permalink.

Leave a Reply