Configuring ActiveMQ to run automatically - Configuring ActiveMQ to run automatically - Alfresco - Alfresco Media Management - Alfresco/Alfresco-Media-Management/1.3/Alfresco-Media-Management/Alfresco-Media-Management/Configure/Start-Media-Management/Configuring-ActiveMQ-to-run-automatically - 1.3

Alfresco Media Management

Platform
Alfresco
Product
Alfresco Media Management
Release
1.3
ft:lastPublication
2026-05-06T19:19:13.132000
ft:locale
en-US
ArchiveStatus
Archived

ActiveMQ can be configured to start and run automatically.

  1. Create a user named activemq that you will use to run the ActiveMQ automatic process:

    sudo useradd -m activemq
    
  2. Create an init.d script, for example, in /etc/init.d/activemq to run the ActiveMQ shell script under the activemq user:

    #!/bin/bash
    # chkconfig: 2345 80 20
    cd opt/activemq
    /bin/su activemq -c "bin/activemq $@"
    
  3. Make the file executable and enable the script:

    chmod +x /etc/init.d/activemq
    chkconfig --add activemq