Guest User

Untitled

a guest
Nov 19th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. Requisite=A.service
  2. After=A.service
  3.  
  4. 1) B won't start unless A is running (good).
  5. 2) B is stopped when A is stopped (good).
  6. 3) However, if I kill A, service B continues to run (bad).
  7.  
  8. BindsTo=A.service
  9. After=A.service
  10.  
  11. 1) If A is not running and I start B, then A is also started
  12. (I want an error, I don't want A started)
  13. 2) B is stopped when A is stopped (good).
  14. 3) B is stopped when A is killed (good)
Add Comment
Please, Sign In to add comment