1. 26 Apr, 2013 2 commits
    • Zbigniew Jędrzejewski-Szmek's avatar
      systemd-python: attach fields to JournalHandler, add SYSLOG_IDENTIFIER · b5edbff0
      Zbigniew Jędrzejewski-Szmek authored
      Arbitrary fields can be attached at the level of the handler,
      and they'll be sent with all messages from this handler.
      
      This facility is used to attach SYSLOG_IDENTIFIER to all messages,
      since otherwise journald attaches SYSLOG_IDENTIFIER=python or
      something similar, which is completely useless.
      b5edbff0
    • Lennart Poettering's avatar
      unit: rework stop pending logic · 31afa0a4
      Lennart Poettering authored
      When a trigger unit wants to know if a stop is queued for it, we should
      just check precisely that and do not check whether it is actually
      stopped already. This is because we use these checks usually from state
      change calls where the state variables are not updated yet.
      
      This change splits unit_pending_inactive() into two calls
      unit_inactive_or_pending() and unit_stop_pending(). The former checks
      state and pending jobs, the latter only pending jobs.
      31afa0a4
  2. 25 Apr, 2013 6 commits
  3. 24 Apr, 2013 19 commits
  4. 23 Apr, 2013 13 commits