diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2017-03-22 11:21:20 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2017-04-07 14:42:19 +0200 |
commit | 9028462c5c52300ce4099eac63435cf6e165415b (patch) | |
tree | e12e9a6ad37a8fa50c3010ee813f29428af0579b /recipes-devtools/run-postinsts/run-postinsts | |
parent | 8e759842280857d0b7fd2f18e246608fd56435e3 (diff) |
run-postinsts: do not reload daemon configuration
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'recipes-devtools/run-postinsts/run-postinsts')
-rw-r--r-- | recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service b/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service new file mode 100644 index 0000000..1b71a1f --- /dev/null +++ b/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service @@ -0,0 +1,16 @@ +[Unit] +Description=Run pending postinsts +DefaultDependencies=no +After=systemd-remount-fs.service systemd-tmpfiles-setup.service tmp.mount +Before=sysinit.target +ConditionPathExistsGlob=#SYSCONFDIR#/*-postinsts + +[Service] +Type=oneshot +ExecStart=#SBINDIR#/run-postinsts +ExecStartPost=#BASE_BINDIR#/systemctl --no-reload disable run-postinsts.service +RemainAfterExit=No +TimeoutSec=0 + +[Install] +WantedBy=sysinit.target |