summaryrefslogtreecommitdiffstats
path: root/src/core/macros.systemd.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-07-16 18:15:48 +0200
committerLennart Poettering <lennart@poettering.net>2013-07-16 18:54:03 +0200
commit042e33ae3a7feb08c8105f1345fd244315109405 (patch)
treea207e4dc85fcf009c381482950fc98a9fc20088e /src/core/macros.systemd.in
parent60-keyboard.hwdb: Fix syntax error (diff)
downloadsystemd-042e33ae3a7feb08c8105f1345fd244315109405.tar.xz
systemd-042e33ae3a7feb08c8105f1345fd244315109405.zip
rpm: add RPM macro for creating tmpfiles entries after package installation
Diffstat (limited to 'src/core/macros.systemd.in')
-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 4ad8186fae..89b48259ad 100644
--- a/src/core/macros.systemd.in
+++ b/src/core/macros.systemd.in
@@ -72,3 +72,7 @@ fi \
%journal_catalog_update() \
@rootbindir@/journalctl --update-catalog >/dev/null 2>&1 || : \
%{nil}
+
+%tmpfiles_create() \
+@rootbindir@/systemd-tmpfiles --create %{?*} >/dev/null 2>&1 || : \
+%{nil}