summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2016-07-06 16:34:08 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-07-06 16:37:40 +0200
commitb67eeaef8950d326a67e4b3a3f7dc2e626c0d72d (patch)
tree671d752c9aff85355d43a38c31e827d90691df3b
parentb81f55cacee62c80ff15c7ecd381550d4354cd78 (diff)
downloadptxdist-b67eeaef8950d326a67e4b3a3f7dc2e626c0d72d.tar.gz
ptxdist-b67eeaef8950d326a67e4b3a3f7dc2e626c0d72d.tar.xz
rc-once: set IgnoreOnIsolate=true for rc-once.service
rc-once calls 'systemctl default' which is basically 'systemctl isolate default.target'. Without IgnoreOnIsolate=true this will stop rc-once.service because it is not part of the new default target. This was never noticed because 'systemctl default' is the last command. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--projectroot/lib/systemd/system/rc-once.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/projectroot/lib/systemd/system/rc-once.service b/projectroot/lib/systemd/system/rc-once.service
index d3377b3d7..550a0188e 100644
--- a/projectroot/lib/systemd/system/rc-once.service
+++ b/projectroot/lib/systemd/system/rc-once.service
@@ -1,6 +1,7 @@
[Unit]
Description=First boot services
DefaultDependencies=no
+IgnoreOnIsolate=true
After=local-fs.target
Requires=local-fs.target
After=system-update.target