MX on Linux: Difference between revisions

m
====Commands to start, stop, or restart (stop and start in one command) MX as a service====
 
You will need to start (or restart) MX after you have defined (or redefined) the service as instructed above. The full set of commands to use with this service are at [[Raspberry_Pi_Image#systemctl_commands|systemctl_commands]], here I simply repeat the basic commands that can be used with any service (start, stop, and restart), so you might change the '''cumulusmx''' to the name of another service.
 
* sudo systemctl start cumulusmx
* sudo systemctl stop cumulusmx
* sudo systemctl restart cumulusmx
 
If you want MX to automatically start when your Linux computer is booted, just type <code>sudo systemctl enable cumulusmx</code> once, and it will be activated on each reboot.
 
In the [[#Parameter for running as service|earlier instructions]] it was mentioned that technical users might change the user for the MX service, if you have done that you can omit the "sudo" in <code>sudo systemctl start cumulusmx</code> which manually starts the service. Equally, the owning user can omit "sudo" from any command that accesses Cumulus files created by the service.
 
=== -debug parameter for adding debugging ===
5,838

edits