title: Linux systemd - how does systemd resolve dependency loop
body: <p>I'm trying to figure out how does systemd in CentOS 7 deals with dependency loop. For example:</p>
  
  <pre><code>[unit A]
  After=unit B
  </code></pre>
  
  <p>and the second</p>
  
  <pre><code>[unit B]
  After=unit A
  </code></pre>
  
  <p>System should detect loop, but what algorithm is used and how does it work? I've searched through network but nobody describes HOW does it work only that IT WORKS by making After or Before statement.</p>
  
  <p>Thank you</p>