summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/macros.systemd.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/macros.systemd.in b/src/core/macros.systemd.in
index 0d5f8949ab..333f222de0 100644
--- a/src/core/macros.systemd.in
+++ b/src/core/macros.systemd.in
@@ -83,6 +83,10 @@ systemd-tmpfiles --create %{?*} >/dev/null 2>&1 || : \
systemd-sysusers %{?*} >/dev/null 2>&1 || : \
%{nil}
+%sysusers_create_inline() \
+echo %{?*} | systemd-sysusers - >/dev/null 2>&1 || : \
+%{nil}
+
%sysctl_apply() \
@rootlibexecdir@/systemd-sysctl %{?*} >/dev/null 2>&1 || : \
%{nil}