2024-05-28 09:20:02 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
. /opt/victronenergy/serial-starter/run-service.sh
|
|
|
|
|
2024-07-04 08:46:28 +00:00
|
|
|
app="/opt/victronenergy/dbus-fzsonick-48tl/dbus-fzsonick-48tl.py"
|
2024-05-28 09:20:02 +00:00
|
|
|
args="$tty"
|
2024-07-04 08:46:28 +00:00
|
|
|
|
|
|
|
# Start aggregator.py in the background
|
|
|
|
/opt/victronenergy/dbus-fzsonick-48tl/aggregator.py &
|
|
|
|
|
|
|
|
# Start dbus-fzsonick-48tl.py using the start command
|
2024-05-28 09:20:02 +00:00
|
|
|
start $args
|
2024-07-04 08:46:28 +00:00
|
|
|
|
|
|
|
# Wait for all background processes to finish
|
|
|
|
wait
|