Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ardiadminguide:nssm_additional_settings_file [2022/05/20 11:34]
127.0.0.1 external edit
ardiadminguide:nssm_additional_settings_file [2024/05/10 00:38]
optrix
Line 1: Line 1:
 +====NSSM Additional Settings File====
  
 +ARDI launches its services on Windows using a tool called NSSM. 
 +
 +It is possible to add additional configuration directives to your services by modifying the **nssm.conf** file.
 +
 +The file should be found in the 'drivers' folder of your ARDI installation (ie. **c:\program files (x86)\optrix\ardi\drivers\nssm.conf**). You may find a sample file residing in the same directory. If you don't have an existing configuration file, create one in your preferred text editor.
 +
 +These settings apply to **all services launched by ARDI**, such as drivers, alarm managers and consolidators. 
 +
 +You can also override the settings for a //specific// driver by creating a file that includes the drivers unique port number. For example, the file **nssm12001.conf** will only apply to the driver with port number 12001. This gives you the ability to run different drivers as different users. 
 +
 +This file contains additional NSSM settings for your new services.
 +===Examples===
 +
 +To specify the username and password for your service to use when running, you'd use the following line...
 +
 +<code>
 +ObjectName <username> <password>
 +</code>
 +
 +To lower the process priority of your services, you could try...
 +
 +<code>
 +AppPriority BELOW_NORMAL_PRIORITY_CLASS
 +</code>
 +
 +You can use any settings found in the [[https://nssm.cc/commands|NSSM documentation]].