Start Alfresco at boot time Ubuntu

cancel
Showing results for 
Search instead for 
Did you mean: 
mbjelo
Member II

Start Alfresco at boot time Ubuntu

Jump to solution

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 Solution

Accepted Solutions
kintu_barot
Senior Member

Re: Start Alfresco at boot time Ubuntu

Jump to solution

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 solution in original post

4 Replies
kintu_barot
Senior Member

Re: Start Alfresco at boot time Ubuntu

Jump to solution

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
Member II

Re: Start Alfresco at boot time Ubuntu

Jump to solution

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?

kintu_barot
Senior Member

Re: Start Alfresco at boot time Ubuntu

Jump to solution

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
imanez1
Active Member II

Re: Start Alfresco at boot time Ubuntu

Jump to solution

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?