summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2013-07-22 17:10:15 +0200
committerTom Gundersen <teg@jklm.no>2013-07-22 17:11:19 +0200
commit7e380bba1cd517570655c0e653e2239e33988cd1 (patch)
tree396fd7f311bd02284020962e1d562afbdc6df028 /units
parentef7e6e0598b1711d7ccf741bb8e4e07a02ef33a7 (diff)
kmod-static-nodes: remain after exit
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