[Unit] Description=Launcher for the ROS master, parameter server and rosout logging node [Service] User=pi ExecStart=/bin/sh -c ". /opt/ros/noetic/setup.sh; ROS_HOSTNAME=`hostname`.local exec roscore" Restart=on-failure RestartSec=3 [Install] WantedBy=multi-user.target