Systemd Services - ISU-MAVRIC/Old-MAVRIC-Systems GitHub Wiki

Helpful Commands

These commands are used to start, stop, restart, enable on start up, and check the log files for systemd services.
sudo service <service> start - Starts the desired service
sudo service <service> stop - Stops the desired service
sudo service <service> restart - Restarts the desired service
sudo systemctl enable <service> - Enabling a service means that it will automatically start on rover power on
sudo journalctl -u <service> - Checks the logs of a service. Useful for checking for error messages. \

You can find these services in /etc/systemd/system/<service>.service

Scarab

mavric-launch

This service starts roscore and launches the launch file specified in /opt/mavric/launchfile.

mavric-can

This service configures the baudrate and permissions for the Cannable device.

⚠️ **GitHub.com Fallback** ⚠️