Closed dakejahl closed 8 months ago
A stop/restart of mavlink-router.service will now cause a stop/restart of logloader.service. It does not however couple the starting of the services, hence we need to start logloader again after flashing the PX4 binary.
See definitions for PartOf and BindsTo https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html
Also added default value for FW_PATH arg in the flash_px4.sh script as well as a check that the file exists.
A stop/restart of mavlink-router.service will now cause a stop/restart of logloader.service. It does not however couple the starting of the services, hence we need to start logloader again after flashing the PX4 binary.
See definitions for PartOf and BindsTo https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html
Also added default value for FW_PATH arg in the flash_px4.sh script as well as a check that the file exists.