summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
Diffstat (limited to 'units')
-rw-r--r--units/kmod-static-nodes.service.in1
-rw-r--r--units/systemd-tmpfiles-setup-dev.service.in2
2 files changed, 2 insertions, 1 deletions
diff --git a/units/kmod-static-nodes.service.in b/units/kmod-static-nodes.service.in
index 624a650526..cdfc6e56e1 100644
--- a/units/kmod-static-nodes.service.in
+++ b/units/kmod-static-nodes.service.in
@@ -12,5 +12,6 @@ Before=sysinit.target systemd-tmpfiles-setup-dev.service
[Service]
Type=oneshot
+RemainAfterExit=yes
ExecStartPre=@MKDIR_P@ /run/tmpfiles.d
ExecStart=@KMOD@ static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf
diff --git a/units/systemd-tmpfiles-setup-dev.service.in b/units/systemd-tmpfiles-setup-dev.service.in
index 5c45d3465b..579e7c6a4f 100644
--- a/units/systemd-tmpfiles-setup-dev.service.in
+++ b/units/systemd-tmpfiles-setup-dev.service.in
@@ -14,5 +14,5 @@ ConditionCapability=CAP_MKNOD
[Service]
Type=oneshot
-RemainAfterExit=true
+RemainAfterExit=yes
ExecStart=@rootbindir@/systemd-tmpfiles --prefix=/dev --create