title: systemd service run before and after other service starts
body: <p>I want to run a script before and after autofs starts.
  I have two systemd service:</p>
  
  <p>backup1.service runs before autofs</p>
  
  <pre><code>[Unit]
  Description=Backup mount
  
  [Service]
  ExecStart=/backup/sw/bmount before
  
  
  [Install]
  WantedBy=autofs.service
  </code></pre>
  
  <p>backup2.service runs after autofs</p>
  
  <pre><code>[Unit]
  Description=Backup mount
  PartOf=autofs.service
  After=autofs.service
  
  [Service]
  ExecStart=/backup/sw/bmount after
  
  [Install]
  WantedBy=autofs.service
  </code></pre>
  
  <p>I can determine the after/before status in the bmount script, so I can call it without parameter and I could use only one service, but don't know how.</p>
  
  <p>Is it possible?</p>