Yes, true. I'll drop the config comment for now.

But in general I think it's a good idea for the HS to read configuration from a file. Either loading the default config file used by spark-submit, or a config file defined as a command line argument. I assume the most common use case is for someone to set this up as something that runs as a system service (e.g. through init), so separating the execution (i.e. the script in /etc/init.d) from configuration would be a nice enhancement.

Can be done separately though.