Enabling and disabling autostart

You can enable and disable autostart for the Dgraph, the HDFS Agent, Studio, and the Dgraph Gateway services by running the bdd-admin script with the autostart command. Services that have autostart enabled start automatically after their host machines are rebooted.

Note: Services are only restarted after their host machines are rebooted. Crashed services and failed nodes must be restarted manually.
Run the following command from the Admin Server:
./bdd-admin.sh autostart <args> [component] <option>
You must provide one of the following arguments:
  • on enables autostart for the specified service(s)
  • off disables autostart for the specified service(s)

You can specify any of the component and option arguments listed in Components.

Examples

The following command enables autostart for every Dgraph, HDFS Agent, Studio, and Dgraph Gateway service in the cluster:
./bdd-admin.sh autostart on --all
The following command disables autostart for Studio and the Dgraph Gateway services on the web009.us.example.com node:
./bdd-admin.sh autostart off --bddServer web009.us.example.com