Skip to content

Commit

Permalink
core: start-blueos-core: Start cron and journalctl-vacuum
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
  • Loading branch information
patrickelectric committed Jul 6, 2024
1 parent b0ab5aa commit a6c2048
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/start-blueos-core
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a6c2048

Please sign in to comment.