From: Felipe Sateler Date: Sat, 8 Apr 2017 23:32:13 +0000 (-0300) Subject: core: add ConditionUser and ConditionGroup X-Git-Tag: v234~161^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c465a29f24403c7583a96eb90a1fe4f5b7f9b5a9;p=thirdparty%2Fsystemd.git core: add ConditionUser and ConditionGroup This adds two options that are useful for user units. In particular, it is useful to check ConditionUser=!0 to not start for the root user. Closes: #5187 --- diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index a7c37a00189..cd9deaaa3bc 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -820,6 +820,8 @@ ConditionDirectoryNotEmpty= ConditionFileNotEmpty= ConditionFileIsExecutable= + ConditionUser= + ConditionGroup=