From a6c2048b46d82c55dd06265d47354f0304a7c2e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Fri, 5 Jul 2024 21:10:00 -0300 Subject: [PATCH] core: start-blueos-core: Start cron and journalctl-vacuum MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- core/start-blueos-core | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/start-blueos-core b/core/start-blueos-core index aa6a0190ef..fd3614a873 100755 --- a/core/start-blueos-core +++ b/core/start-blueos-core @@ -93,6 +93,9 @@ mkdir -p /usr/blueos/userdata/settings find /usr/blueos -type d -exec chmod a+rw {} \; find /usr/blueos -type f -exec chmod a+rw {} \; +cron || echo "Failed to start cron service!" +journalctl-vacuum || echo "Failed to run journalctl-vacuum service!" + # These services have priority because they do the fundamental for the vehicle to work, # and by initializing them first we reduce the time users have to wait to control the vehicle. # From tests with QGC and Pi3, the reboot time was ~1min42s when not using this strategy,