1. 15 Apr, 2013 1 commit
  2. 30 Mar, 2013 2 commits
    • Zbigniew Jędrzejewski-Szmek's avatar
      build-sys,man: use XML entities to substite strings · 1a13e31d
      Zbigniew Jędrzejewski-Szmek authored
      This makes it easier to add substitutions to man pages,
      avoiding the separate transformation step.
      mkdir -p's are removed from the rule, because xsltproc will
      will create directories on it's own.
      All in all, two or three forks per man page are avoided,
      which should make things marginally faster.
      Unfortunately python parsers must too be tweaked to handle
      entities. This isn't particularly easy: with lxml a custom
      Resolver can be used, but the stdlib etree doesn't support
      external entities *at all*. So when running without lxml,
      the entities are just removed. Right now it doesn't matter,
      since the entities are not indexed anyway. But I intend to
      add indexing of filenames in the near future, and then the
      index generated without lxml might be missing a few lines.
      Oh well.
    • Zbigniew Jędrzejewski-Szmek's avatar
      Revert "build-sys: substitute strings in systemd.unit(5)" · aa0bb9c2
      Zbigniew Jędrzejewski-Szmek authored
      This reverts commits c78ab911
      and 185c3be0.
      It is simpler to just use includes...
  3. 27 Mar, 2013 1 commit
    • Zbigniew Jędrzejewski-Szmek's avatar
      Simplify the meaning of %s · 3baed193
      Zbigniew Jędrzejewski-Szmek authored
      The rules governing %s where just too complicated. First of
      all, looking at $SHELL is dangerous. For systemd --system,
      it usually wouldn't be set. But it could be set if the admin
      first started a debug shell, let's say /sbin/sash, and then
      launched systemd from it. This shouldn't influence how daemons
      are started later on, so is better ignored. Similar reasoning
      holds for session mode. Some shells set $SHELL, while other
      set it only when it wasn't set previously (e.g. zsh). This
      results in fragility that is better avoided by ignoring $SHELL
      With $SHELL out of the way, simplify things by saying that
      %s==/bin/sh for root, and the configured shell otherwise.
      get_shell() is the only caller, so it can be inlined.
      Fixes one issue seen with 'make check'.
  4. 20 Feb, 2013 1 commit
  5. 07 Feb, 2013 2 commits
  6. 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.
      > grep WantedBy ~/.config/systemd/user/mpop@.timer
      > 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>
  7. 29 Jan, 2013 1 commit
  8. 26 Jan, 2013 1 commit
    • Zbigniew Jędrzejewski-Szmek's avatar
      man: extend systemd.directives(7) to all manual pages · ccc9a4f9
      Zbigniew Jędrzejewski-Szmek authored
      New sections are added: PAM options, crypttab options, commandline
      options, miscellaneous. The last category will be used for all
      untagged <varname> elements.
      Commandline options sections is meant to be a developer tool: when
      adding an option it is sometimes useful to be able to check if
      similarly named options exist elsewhere.
  9. 17 Jan, 2013 1 commit
  10. 15 Jan, 2013 1 commit
  11. 10 Jan, 2013 1 commit
    • Lennart Poettering's avatar
      unit: allow extension of unit files with .d/*.conf drop-ins · 8afbb8e1
      Lennart Poettering authored
      For all unit files foobar.service we will now read
      foobar.service.d/*.conf, too. This may be used to override certain unit
      settings without having to edit unit files directly.
      This makes it really easy to change specific settings for services
      without having to edit any unit file:
      mkdir /etc/systemd/system/avahi-daemon.service.d/
      echo -e '[Service]\nNice=99' > /etc/systemd/system/avahi-daemon.service.d/nice.conf
      systemctl daemon-reload
  12. 09 Jan, 2013 1 commit
  13. 31 Dec, 2012 1 commit
  14. 19 Dec, 2012 1 commit
  15. 23 Nov, 2012 1 commit
  16. 30 Oct, 2012 1 commit
  17. 25 Oct, 2012 1 commit
  18. 15 Oct, 2012 1 commit
    • Andrew Eikum's avatar
      Reword sentences that contain psuedo-English "resp." · 16dad32e
      Andrew Eikum authored
      As you likely know, Arch Linux is in the process of moving to systemd.
      So I was reading through the various systemd docs and quickly became
      baffled by this new abbreviation "resp.", which I've never seen before
      in my English-mother-tongue life.
      Some quick Googling turned up a reference:
      I guess it's a literal translation of the German "Beziehungsweise", but
      English doesn't work the same way. The word "respectively" is used
      exclusively to provide an ordering connection between two lists. E.g.
      "the prefixes k, M, and G refer to kilo-, mega-, and giga-,
      respectively." It is also never abbreviated to "resp." So the sentence
      "Sets the default output resp. error output for all services and
      sockets" makes no sense to a natural English speaker.
      This patch removes all instances of "resp." in the man pages and
      replaces them with sentences which are much more clear and, hopefully,
      grammatically valid. In almost all instances, it was simply replacing
      "resp." with "or," which the original author (Lennart?) could probably
      just do in the future.
      The only other instances of "resp." are in the src/ subtree, which I
      don't feel privileged to correct.
      Signed-off-by: default avatarAndrew Eikum <aeikum@codeweavers.com>
  19. 18 Sep, 2012 1 commit
  20. 13 Sep, 2012 1 commit
  21. 10 Sep, 2012 1 commit
  22. 21 Aug, 2012 1 commit
  23. 30 Jul, 2012 1 commit
  24. 26 Jul, 2012 2 commits
    • Michal Schmidt's avatar
      man: rewrite the description of PartOf · f3d52e8c
      Michal Schmidt authored
    • Michal Sekletar's avatar
      systemd: added new dependency PartOf · 85e9a101
      Michal Sekletar authored
      This should address TODO item "new dependency type to "group" services
      in a target". Semantic of new dependency is as follows. Once configured
      it creates dependency which will cause that all dependent units get
      stopped if unit they all depend on is stopped or restarted.  Usual use
      case would be configuring PartOf=some.target in template unit file
      and WantedBy=some.target in [Install] section and enabling desired
      number of instances. In this case starting one instance won't pull in
      target but stopping or starting target(in case of WantedBy is properly
      configured) will cause stop/start of all instances.
  25. 16 Jul, 2012 3 commits
    • Lennart Poettering's avatar
      man: reword man page titles · 34511ca7
      Lennart Poettering authored
      Make sure the man page titles are similar in style and capitalization so
      that our man page index looks pretty.
    • Lennart Poettering's avatar
    • Auke Kok's avatar
      unit: printf specifiers %u and %h: $USER and $HOME. · b2896c90
      Auke Kok authored
      These printf specifiers allow us to refer to $HOME and $USER
      in unit files. These are particularly helpful in instanced
      units that have "User=" set, and in systemd --user domains.
      The specifiers will return the pw_name and pw_dir fields
      if the unit file has a User= field.
      If the unit file does not have a User= field, the value
      substituted is either $USER or $HOME from the environment,
      or, if unset, the values from pw_name or pw_dir.
      This patch is somewhat after Ran Benita's original patch,
      which didn't get merged. I've split up the 2 specifiers
      and extended them to do what is logically expected from
      these specifiers.
      Note that expansion is done at `start` time, not after
      the units are parsed. Using `systemctl show` will just
      show the specifiers.
  26. 13 Jul, 2012 1 commit
    • Lennart Poettering's avatar
      unit: rename BindTo= to BindsTo= · 7f2cddae
      Lennart Poettering authored
      all other dependencies are in 3rd person. Change BindTo= accordingly to
      Of course, the dependency is widely used, hence we parse the old name
      too for compatibility.
  27. 22 Jun, 2012 1 commit
    • Lennart Poettering's avatar
      unit: drop the Names= option · 8ff290af
      Lennart Poettering authored
      Names= is a source of errors, simply because alias names specified like
      this only become relevant after a unit has been loaded but cannot be
      used to load a unit.
      Let's get rid of the confusion and drop this field. To establish alias
      names peope should use symlinks, which have the the benefit of being
      useful as key to load a unit, even though they are not taken into
      account if unit names are listed but they haven't been explicitly
      referenced before.
  28. 22 May, 2012 1 commit
  29. 21 May, 2012 2 commits
  30. 30 Apr, 2012 1 commit
  31. 17 Apr, 2012 1 commit
  32. 12 Apr, 2012 1 commit
  33. 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
      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.
  34. 14 Mar, 2012 1 commit