ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I encounter the same question, and i solve it by setting HOME environment in the service file:

Environment="HOME=root"

add this line in [Service], and ros2 will work fine in systemctl.