Red Hat AMQ 6
As of February 2025, Red Hat is no longer supporting Red Hat AMQ 6. If you are using AMQ 6, please upgrade: Migrating to AMQ 7.Este conteúdo não está disponível no idioma selecionado.
8.2. Configure the Script
Abstract
The service launch script,
ServiceName-service[.bat] file, is located under the InstallDir/bin/ directory.
Overview Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
There are a few environment variables you can optionally customize in the
ServiceName-service[.bat] file, as described here.
RUN_AS_USER Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
When the
RUN_AS_USER variable is set, the ServiceName-service[.bat] script runs as the specified user. For example, to run the script as the user, mquser, search for the line, #RUN_AS_USER, uncomment the line, and set the variable as follows:
RUN_AS_USER=mquser
RUN_AS_USER=mquser
Important
Make sure that the specified user has the required privileges to write the PID file and
wrapper.log files. Failure to be able to write the log file will cause the Wrapper to exit without any way to write out an error message.
PRIORITY Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
(LINUX and UNIX only) You can optionally assign a priority to the launched service using the system
nice command by setting the PRIORITY variable (it is not set by default).