To boot start Splunk, we have to use the following command:
$SPLUNK_HOME/bin/splunk enable boot-start