chiark / gitweb /
load-fragment: Expand specifiers in conditions.
authorAuke Kok <auke-jan.h.kok@intel.com>
Thu, 13 Sep 2012 19:34:25 +0000 (12:34 -0700)
committerLennart Poettering <lennart@poettering.net>
Thu, 13 Sep 2012 19:54:34 +0000 (21:54 +0200)
commit095b2d7ab9e7d66d44b93ab6e03ca69fd9e7020c
tree47abe2f43f09fa46d7a6d5a9d48bb076b6de6705
parent0675cc4a02dfa3e7abc47d0c2117bf413b1d7698
load-fragment: Expand specifiers in conditions.

Add specifier expansion to Path and String conditions.

Specifier expansion for conditions will help create instance
and user session units by allowing us to template conditions
based on the instance or user session parameters.

An example would be a system-wide user session service file
that conditionally runs based on whether a user has the
service configured through a configuration file in ~/.config/.
src/core/load-fragment.c