summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-07-13 11:32:39 +0200
committerLennart Poettering <lennart@poettering.net>2022-07-20 23:53:22 +0200
commit1d77721f30a821464cd715a63b89ef18419de7b0 (patch)
tree3c20d7dc1ddbcc38fb35bfd007cb2f02da9a6702 /units
parent74c1cf626730a34fbd2d39ed016db21c9748d944 (diff)
downloadsystemd-1d77721f30a821464cd715a63b89ef18419de7b0.tar.gz
tmpfiles: accept additional tmpfiles lines via credential
Diffstat (limited to 'units')
-rw-r--r--units/systemd-tmpfiles-clean.service1
-rw-r--r--units/systemd-tmpfiles-setup-dev.service1
-rw-r--r--units/systemd-tmpfiles-setup.service1
3 files changed, 3 insertions, 0 deletions
diff --git a/units/systemd-tmpfiles-clean.service b/units/systemd-tmpfiles-clean.service
index 7aee6463bd..6ae4e74ddd 100644
--- a/units/systemd-tmpfiles-clean.service
+++ b/units/systemd-tmpfiles-clean.service
@@ -20,3 +20,4 @@ Type=oneshot
ExecStart=systemd-tmpfiles --clean
SuccessExitStatus=DATAERR
IOSchedulingClass=idle
+LoadCredential=tmpfiles.extra
diff --git a/units/systemd-tmpfiles-setup-dev.service b/units/systemd-tmpfiles-setup-dev.service
index 0babe78767..ad0e54fcc4 100644
--- a/units/systemd-tmpfiles-setup-dev.service
+++ b/units/systemd-tmpfiles-setup-dev.service
@@ -20,3 +20,4 @@ Type=oneshot
RemainAfterExit=yes
ExecStart=systemd-tmpfiles --prefix=/dev --create --boot
SuccessExitStatus=DATAERR CANTCREAT
+LoadCredential=tmpfiles.extra
diff --git a/units/systemd-tmpfiles-setup.service b/units/systemd-tmpfiles-setup.service
index bc29dbc8c9..6c1ee91a40 100644
--- a/units/systemd-tmpfiles-setup.service
+++ b/units/systemd-tmpfiles-setup.service
@@ -21,3 +21,4 @@ Type=oneshot
RemainAfterExit=yes
ExecStart=systemd-tmpfiles --create --remove --boot --exclude-prefix=/dev
SuccessExitStatus=DATAERR CANTCREAT
+LoadCredential=tmpfiles.extra