5,838
edits
m (Text replacement - "[[MXDiags" to "[[MXdiags") |
|||
Line 140: | Line 140: | ||
==Running MX as a service== | ==Running MX as a service on Microsoft Windows== | ||
# Navigate to the folder with your MX installation. | |||
# Start MX (as an administrative user) using <code>CumulusMX.exe - install</code> | |||
#* There are other optional parameters (described later e.g. -port, -debug, -locale) you can add by editing registry | |||
# MX is now set up as a service. | |||
:To remove the Cumulus system service run it as an Administrator using the command line parameter -uninstall | |||
===MX as a service and adding parameters=== | |||
# To add parameters to the service when it starts automatically you will have to edit the registry | |||
# Right click the Windows button at left hand edge of taskbar (often at bottom of your screen) | |||
# Choose '''Run''' | |||
# Type '''regedit''' (and press ENTER) | |||
# Navigate to '''HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CumulusMX''' | |||
#* Hint, you can expand at any level by clicking the '''>''' in the navigation panel | |||
#* Similarly, contract by clicking on '''∨''' in the navigation panel | |||
# Right Click on '''ImagePath''' | |||
# Select '''Modify''' | |||
# You should see '''"C:\CumulusMX\CumulusMX.exe"''' | |||
# Now you can add parameters as per [[#Optional_parameters_to_add_to_the_instruction_to_run_the_MX_engine]] | |||
#* For example modify to ''' "C:\CumulusMX\CumulusMX.exe" -port 9000''' to add port | |||
#* For example modify to ''' "C:\CumulusMX\CumulusMX.exe" -debug''' to add full debugging | |||
=== Stooping and starting the MX service=== | |||
* Either, the Services applet:- services.msc (You can pass parameters using this tool, but they are not saved for future use) | |||
* Or, the service command line tool:- sc start|stop|query CumulusMX [optional parameters for start-up here] | |||
===MX as a service and standby=== | |||
The service will stop itself if it detects that the computer is going into standby | |||
In your MX release distribution, navigate to '''CumulusMX\MXutils\windows'''. | |||
Find file '''CreateCmxResumeFromStandbyTask.ps1''' for resuming MX after Microsoft Windows has gone into standby. | |||
== Setting up for either manual or automatic running (without service) == | == Setting up for either manual or automatic running (without service) == |
edits