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
  2. 10 Sep, 2012 1 commit
  3. 19 Jul, 2012 1 commit
    • Shawn Landden's avatar
      use #pragma once instead of foo*foo #define guards · c2f1db8f
      Shawn Landden authored
       #pragma once has been "un-deprecated" in gcc since 3.3, and is widely supported
      in other compilers.
      
      I've been using and maintaining (rebasing) this patch for a while now, as
      it annoyed me to see #ifndef fooblahfoo, etc all over the place,
      almost arrogant about the annoyance of having to define all these names to
      perform a commen but neccicary functionality, when a completely superior
      alternative exists.
      
      I havn't sent it till now, cause its kindof a style change, and it is bad
      voodoo to mess with style that has been established by more established
      editors. So feel free to lambast me as a crazy bafoon.
      
      v2 - preserve externally used headers
      c2f1db8f
  4. 12 Apr, 2012 1 commit
  5. 11 Apr, 2012 1 commit
    • Lennart Poettering's avatar
      relicense to LGPLv2.1 (with exceptions) · 5430f7f2
      Lennart Poettering authored
      We finally got the OK from all contributors with non-trivial commits to
      relicense systemd from GPL2+ to LGPL2.1+.
      
      Some udev bits continue to be GPL2+ for now, but we are looking into
      relicensing them too, to allow free copy/paste of all code within
      systemd.
      
      The bits that used to be MIT continue to be MIT.
      
      The big benefit of the relicensing is that closed source code may now
      link against libsystemd-login.so and friends.
      5430f7f2
  6. 23 Jul, 2011 1 commit
  7. 22 Jul, 2011 1 commit
    • Lennart Poettering's avatar
      install: add new installer implementation · 83096483
      Lennart Poettering authored
      This new installer will replace the current code of "systemctl enable"
      but also be available via D-Bus. It adds a couple of new features:
      
      - Mask/Unmask calls
      - Reenable call
      - Preset call
      - Support for enabling units temporarily (i.e. in /run/systemd instead
        of /etc/systemd)
      - Enumeration of installed units
      - Support for out-of-search-path units
      
      systemctl and D-Bus are not hooked up with this yet
      83096483