cancel
Showing results for 
Search instead for 
Did you mean: 

Start Alfresco at boot time Ubuntu

mbjelo
Champ in-the-making
Champ in-the-making

Hi all, how can I configure starting Alfresco at boot time? I installed Alfresco on Ubuntu 18.04 but now I have to start it when server starts. Thanks!

1 ACCEPTED ANSWER

You can simply create a cronjob that runs '/opt/alfresco-community/alfresco.sh start' on boot.

@reboot root cd /opt/alfresco-community/ && alfresco.sh start
Regards,
Kintu
Regards,
Kintu

View answer in original post

4 REPLIES 4

kintu_barot
Star Collaborator
Star Collaborator

You can install Alfresco as a service or you can also create a cronjob to start alfresco on boot.

Regards,

Kintu

ContCentric

Regards,
Kintu

mbjelo
Champ in-the-making
Champ in-the-making

Hi Kintu, thank you for your response. I did install Alfresco as service and an have alfresco script in init.d but it still does not boot at start time.

I noticed that in rc folders there are not sim link for alfresco script, maybe it is the problem and I should create it manually?

You can simply create a cronjob that runs '/opt/alfresco-community/alfresco.sh start' on boot.

@reboot root cd /opt/alfresco-community/ && alfresco.sh start
Regards,
Kintu
Regards,
Kintu

Hello,

I have installed Alfresco Content Services v6.2.0 (Community) using distribution zip, so to start alfresco i have to start solr6 first : 

cd /opt/alfresco/alfresco-content-services/solr/bin
./solr start

I wait for solr to start and then i start Alfresco:

cd /opt/alfresco/tomcat/bin
./startup.sh

How can i start all of this at boot time, taking in consideration the time i have to wait for solr to start?