Innovenergy_trunk/firmware/Venus_Release/VenusReleaseFiles/dbus-fzsonick-48tl/start.sh

17 lines
354 B
Bash
Raw Normal View History

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