summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-07-15 16:33:20 +0200
committerLennart Poettering <lennart@poettering.net>2022-07-21 00:06:22 +0200
commita0f4426d0f1205d118e5938cdc28f063044ad5b9 (patch)
treedbd73a1daa6858dd2fb0ec4cc97dd1cb988cd6ff /units
parent67ff6b3031a31b6d912d8668f501c2fdba8fe5a9 (diff)
downloadsystemd-a0f4426d0f1205d118e5938cdc28f063044ad5b9.tar.gz
tmpfiles: automatically provision /etc/issue.d/ + /etc/motd.d/ + /etc/hosts from credentials
Diffstat (limited to 'units')
-rw-r--r--units/systemd-tmpfiles-setup.service3
1 files changed, 3 insertions, 0 deletions
diff --git a/units/systemd-tmpfiles-setup.service b/units/systemd-tmpfiles-setup.service
index 6c1ee91a40..fc6a4a0e0b 100644
--- a/units/systemd-tmpfiles-setup.service
+++ b/units/systemd-tmpfiles-setup.service
@@ -22,3 +22,6 @@ RemainAfterExit=yes
ExecStart=systemd-tmpfiles --create --remove --boot --exclude-prefix=/dev
SuccessExitStatus=DATAERR CANTCREAT
LoadCredential=tmpfiles.extra
+LoadCredential=login.motd
+LoadCredential=login.issue
+LoadCredential=network.hosts