#!/bin/bash . /opt/victronenergy/serial-starter/run-service.sh app="/opt/innovenergy/dbus-fzsonick-48tl/dbus-fzsonick-48tl.py" args="$tty" # Start aggregator.py in the background /opt/innovenergy/dbus-fzsonick-48tl/aggregator.py & # Start dbus-fzsonick-48tl.py using the start command start $args # Wait for all background processes to finish wait