How To Start Tamr Automatically After a Server Reboot

Want Postgres, Nginx, and Tamr to start automatically after a reboot of the server?

One way to achieve that is by making a change to the cron file. This is how you do it:

Step 1: Install Crontab

if already not installed:

sudo apt-get update
sudo apt-get install cron
sudo yum install cronie

Step 2: Add the following line to your cron file /etc/crontab

Note: If you have Nginx and Postgres installed on the server, even these need to be up and running for Tamr to start properly and be accessible on the UI.

@reboot sudo systemctl start nginx.service;  
@reboot sudo systemctl start postgresql.service;
@reboot <tamr functional user>

<tamr functional user> is the user/owner of the Tamr installation.
\<TAMR_HOME> is the location where Tamr is installed.

Step 3: If you plan to reboot your server, please stop Tamr and Tamr dependencies in the following order and then reboot your server.