meta-ros/recipes-ros/ros-comm/roslaunch/roscore.service

13 lines
317 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Launcher for the ROS master, parameter server and rosout logging node
After=network.target
[Service]
EnvironmentFile=/etc/default/roscore
ExecStartPre=/bin/touch ${CMAKE_PREFIX_PATH}/.catkin
2015-05-21 02:22:23 +08:00
ExecStart=/opt/ros/indigo/bin/roscore -p $ROS_PORT
Restart=on-abort
[Install]
WantedBy=multi-user.target