From c2bc71b18eaf213d3ef71445323136b5e6e5ddae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Wed, 13 Mar 2024 13:35:31 -0300 Subject: [PATCH 1/2] core: tools: linux2rest: Update to v0.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This new version follows the same log structure as mavlink-camera-manager and also allows the user to log custom system information Signed-off-by: Patrick José Pereira --- core/tools/linux2rest/bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tools/linux2rest/bootstrap.sh b/core/tools/linux2rest/bootstrap.sh index 4eef8f701..3190803b8 100755 --- a/core/tools/linux2rest/bootstrap.sh +++ b/core/tools/linux2rest/bootstrap.sh @@ -4,7 +4,7 @@ set -e LOCAL_BINARY_PATH="/usr/bin/linux2rest" -VERSION=v0.4.6 +VERSION=v0.5.4 # By default we install armv7 REMOTE_BINARY_URL="https://github.com/patrickelectric/linux2rest/releases/download/${VERSION}/linux2rest-armv7" From eb1c6f4a164d99550754968ed1d30b7df8be07de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Tue, 26 Mar 2024 09:48:07 -0300 Subject: [PATCH 2/2] core: start-blueos-core: Update linux2rest command line MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- core/start-blueos-core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/start-blueos-core b/core/start-blueos-core index 3ed450e82..d27262ed1 100755 --- a/core/start-blueos-core +++ b/core/start-blueos-core @@ -109,7 +109,7 @@ SERVICES=( 'nmea_injector',250,"nice -19 $SERVICES_PATH/nmea_injector/nmea_injector/main.py" 'helper',250,"$SERVICES_PATH/helper/main.py" 'iperf3',250," iperf3 --server --port 5201" - 'linux2rest',250,"linux2rest" + 'linux2rest',250,"linux2rest --log-path /var/logs/blueos/services/linux2rest --log-settings netstat=30,platform=10,serial-ports=10,system-cpu=10,system-disk=30,system-info=10,system-memory=10,system-network=10,system-process=60,system-temperature=10,system-unix-time-seconds=10" 'filebrowser',250,"nice -19 filebrowser --database /etc/filebrowser/filebrowser.db --baseurl /file-browser" 'versionchooser',250,"$SERVICES_PATH/versionchooser/main.py" 'pardal',250,"nice -19 $SERVICES_PATH/pardal/main.py"