I want to run ActiveMQ Artemis (2.10.1) as a Windows Service as a windows service on a Windows Server 2016. I followed the documentation:
On windows you will have the option to run ActiveMQ Artemis as a service. Just use the following command to install it:
$ ./artemis-service.exe install
It works very well as long as I switch user to an account with Administrator rights. However in the project I am working it would be preferable to run the service as a special "service user" account.
When one develops your own Windows service one can use the ServiceProcessInstaller.Account
class/property to control which account is used for the service.
I guess this behavior is built into the artemis-service.exe
binary and accompanying configuration file, artemis-service.xml
.
However I cannot find any documentation or source code for this. Anyone knows?