MX on Linux: Difference between revisions

2 bytes added ,  17:45, 22 May 2022
m (added "Technical Notes only relevant to Raspberry Pi")
Line 415: Line 415:
ExecStart=/usr/bin/mono-service -d:/home/install/CumulusMX CumulusMX.exe -service
ExecStart=/usr/bin/mono-service -d:/home/install/CumulusMX CumulusMX.exe -service
Type=forking
Type=forking
ExecStopPost=/bin/rm /tmp/CumulusMX.exe.lock</pre>
ExecStopPost=/bin/rm -f /tmp/CumulusMX.exe.lock</pre>
    
    
There is more in the file, but for now focus on the line including "ExecStart=/usr/bin/mono-service -d:".
There is more in the file, but for now focus on the line including "ExecStart=/usr/bin/mono-service -d:".
Line 478: Line 478:


You might expect <code>sudo systemctl disable fake-hwclock.service</code> (or remove the service, and modify the scripts that call it) could ensure the computer (if online) has to get a time found on the internet (NTP). Nothing is as simple as it might seem!
You might expect <code>sudo systemctl disable fake-hwclock.service</code> (or remove the service, and modify the scripts that call it) could ensure the computer (if online) has to get a time found on the internet (NTP). Nothing is as simple as it might seem!


===Commands to start, stop, or restart (stop and start in one command) MX as a service===
===Commands to start, stop, or restart (stop and start in one command) MX as a service===