summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-init-tmpfiles
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2013-05-04 18:49:28 +0200
committerJoey Hess <joey@kitenet.net>2013-05-04 14:02:14 -0400
commit32726615cde7ebfe6b5b72a152b35202409526b1 (patch)
tree3a1bcdf971e0f03c6ab66f2fbbff3a81898e6828 /autoscripts/postinst-init-tmpfiles
parent632a2cd0b8591aac75b41840c6975c43e1bd2c5b (diff)
dh_installinit: call systemd-tmpfiles with the config file names
This makes the invocation more specific and thus less likely to have any unwanted side effects. The invocation before was: systemd-tmpfiles --create >/dev/null || true With this commit, it becomes: systemd-tmpfiles --create bacula.conf >/dev/null || true (for bacula-fd shipping /etc/tmpfiles.d/bacula.conf)
Diffstat (limited to 'autoscripts/postinst-init-tmpfiles')
-rw-r--r--autoscripts/postinst-init-tmpfiles2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/postinst-init-tmpfiles b/autoscripts/postinst-init-tmpfiles
index e6cb785..fd613bc 100644
--- a/autoscripts/postinst-init-tmpfiles
+++ b/autoscripts/postinst-init-tmpfiles
@@ -1,5 +1,5 @@
# In case this system is running systemd, we need to ensure that all
# necessary tmpfiles (if any) are created before starting.
if [ -d /run/systemd/system ] ; then
- systemd-tmpfiles --create >/dev/null || true
+ systemd-tmpfiles --create #TMPFILES# >/dev/null || true
fi