Files
clover/builder/assets/clover.service
Oleg Kalachev caa974b71c Fix running rosbridge_suite adding ROS_OV_OVERRIDE env variable
It gives error 'Could not detect OS' (from roslib) on Bookworm without that
2024-05-22 14:17:59 +03:00

17 lines
516 B
Desktop File

[Unit]
Description=Clover ROS package
Requires=roscore.service
[Service]
User=pi
ExecStart=/bin/bash -c ". /home/pi/catkin_ws/devel/setup.sh; \
ROS_HOSTNAME=`hostname`.local ROS_OS_OVERRIDE=debian:bookworm exec stdbuf -o L roslaunch clover clover.launch --wait --screen --skip-log-check \
2> >(tee /tmp/clover.err)"
ExecStartPre=+rm /var/log/clover.log
StandardOutput=file:/var/log/clover.log
StandardError=file:/var/log/clover.log
[Install]
WantedBy=multi-user.target