Elasticsearch not starting on boot

It looks like I was able to fix it by the pointers in this post:

For Ubuntu 18.04 this is done via '/etc/systemd/system.conf'.
I have modified the following parameters:
DefaultTimeoutStartSec=900s
DefaultTimeoutStopSec=900s

The original value was 90s.

Kind regards - Will