From c10b1a7920016a42005b4a99a92bd2be31477dc7 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Wed, 20 Nov 2019 22:23:48 +0100 Subject: [PATCH] Wait for cron service on exit --- lxc-apps/kanboard/lxc/etc/services.d/.s6-svscan/finish | 1 + lxc-apps/seeddms/lxc/etc/services.d/.s6-svscan/finish | 1 + lxc-apps/ushahidi/lxc/etc/services.d/.s6-svscan/finish | 1 + 3 files changed, 3 insertions(+) diff --git a/lxc-apps/kanboard/lxc/etc/services.d/.s6-svscan/finish b/lxc-apps/kanboard/lxc/etc/services.d/.s6-svscan/finish index c9e7add..d4ff9d9 100755 --- a/lxc-apps/kanboard/lxc/etc/services.d/.s6-svscan/finish +++ b/lxc-apps/kanboard/lxc/etc/services.d/.s6-svscan/finish @@ -1,4 +1,5 @@ #!/bin/execlineb -P +foreground { s6-svwait -d -t 3000 cron } foreground { s6-svwait -d -t 3000 nginx } foreground { s6-svwait -d -t 3000 php-fpm } diff --git a/lxc-apps/seeddms/lxc/etc/services.d/.s6-svscan/finish b/lxc-apps/seeddms/lxc/etc/services.d/.s6-svscan/finish index c9e7add..d4ff9d9 100755 --- a/lxc-apps/seeddms/lxc/etc/services.d/.s6-svscan/finish +++ b/lxc-apps/seeddms/lxc/etc/services.d/.s6-svscan/finish @@ -1,4 +1,5 @@ #!/bin/execlineb -P +foreground { s6-svwait -d -t 3000 cron } foreground { s6-svwait -d -t 3000 nginx } foreground { s6-svwait -d -t 3000 php-fpm } diff --git a/lxc-apps/ushahidi/lxc/etc/services.d/.s6-svscan/finish b/lxc-apps/ushahidi/lxc/etc/services.d/.s6-svscan/finish index c9e7add..d4ff9d9 100755 --- a/lxc-apps/ushahidi/lxc/etc/services.d/.s6-svscan/finish +++ b/lxc-apps/ushahidi/lxc/etc/services.d/.s6-svscan/finish @@ -1,4 +1,5 @@ #!/bin/execlineb -P +foreground { s6-svwait -d -t 3000 cron } foreground { s6-svwait -d -t 3000 nginx } foreground { s6-svwait -d -t 3000 php-fpm }