Bootup script (deprecated)

Bootup script

In order to restart KOTS after a server shutdown, the script is needed. You can obtain this script from Labelbox Support


Follow these steps to configure the script:

  • Login to the instance via ssh and become root user:
sudo su
  • Copy the script via scp to: /usr/local/bin/
  • Run this command:
chmod +x /usr/local/bin/
  • Add this command after the comments in /etc/rc.local:
bash /usr/local/bin/
  • Run this command to enable rc.local:
chmod +x /etc/rc.d/rc.local

This bootup script will run on every server startup and exit once the Labelbox apps are running stable. To monitor, run: watch and verify that all pods end in a running state (1/1).

kubectl get pods

You can also verify the script is running, as well as watch for it to complete by running:

ps aux | grep bootup

The script can take up to approximately 23 minutes to fully run and terminate once completed.