This project is a native Debian package, i.e. the only way to use it is through the generated Debian package.
They can be found on the Downloads section of the GitHub project: https://github.com/laas/ros_comm_upstart/downloads
- Download the last version
- Install it:
$ sudo dpkg -i ./ros-{electric,fuerte,groovy}-ros-comm-upstart_*_all.deb
- Enjoy!
roscore is now available as a service running as a separate user.
The Debian package creates a user and a group called 'ros'. The system user home directory is '/var/lib/ros'.
As any other upstart service, it can be controlled as follow:
- start:
start roscore-{electric,fuerte}
- stop:
stop roscore-{electric,fuerte}
- restart:
restart roscore-{electric,fuerte}
- status:
status roscore-{electric,fuerte}
You must choose between electric
and fuerte
in the previous commands.
Each ROS version embeds a different upstart service to allow you to install several ROS versions side-by-side,
but using one roscore or another should not lead to any distinctive changes. You cannot uses both of them
simultaneously as they listen to the same port.
The log files are stored in /var/log/ros
and cleaned using logrotate
regularly.
The roscore process id is stored in /var/run/roscore.pid
.
Uninstalling the package will not delete the user nor the group. You have to do it manually. The user home directory as well as the logs will also remain on the filesystem.
Use the GitHub issue tracker to report feedbacks and bugs: https://github.com/laas/ros_comm_upstart/issues