mrrl-containers

MRRL version of container scripts
git clone https://ccx.te2000.cz/git/mrrl-containers
Log | Files | Refs

commit 04fc080066b864521d2f7c39e9074597182e5135
parent 41f54cc133bf6228375c02c7dc0e3a73e47e2cd2
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date:   Fri,  5 Mar 2021 17:33:11 +0100

Persist logs from xsession
Diffstat:
Mservice_scripts/xsession/finish | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/service_scripts/xsession/finish b/service_scripts/xsession/finish @@ -13,5 +13,8 @@ foreground { umount ${CONTAINER_TMPFS}/run } foreground { umount ${CONTAINER_TMPFS}/inbox } foreground { umount ${CONTAINER_TMPFS}/tmp } foreground { umount --recursive data/root/ } +foreground { + if { test -f ${CONTAINER_TMPFS}/run/uncaught-logs/current } + mv ${CONTAINER_TMPFS}/run/uncaught-logs/current data/lastlog +} rm -rf ${CONTAINER_TMPFS} -#rm -rf /run/containers/xsession.6.ccx