1. 30 Jan, 2013 1 commit
    • Zbigniew Jędrzejewski-Szmek's avatar
      install: allow specifiers in WantedBy/RequiredBy/Alias · 7584d236
      Zbigniew Jędrzejewski-Szmek authored
      
      
      This allows one templated unit to refer to another templated unit
      at installation time.
      
      Examples:
      
      > grep WantedBy ~/.config/systemd/user/mpop@.timer
      WantedBy=services@%i.target
      
      > srv disable mpop@iit.timer
      rm '/home/alxchk/.config/systemd/user/services@iit.target.wants/mpop@iit.timer'
      > srv enable mpop@iit.timer
      ln -s '/home/alxchk/.config/systemd/user/mpop@.timer' '/home/alxchk/.config/systemd/user/services@iit.target.wants/mpop@iit.timer'
      Based-on-patch-by: default avatarOleksii Shevchuk <alxchk@gmail.com>
      7584d236