How to prevent systemd service start operation from timing out

Specify systemd startup timeout option to prevent service start operation from timing out. Inspect default timeout for start operation. $ sudo systemctl show elasticsearch | grep ^Timeout TimeoutStartUSec=1min 30s TimeoutStopUSec=infinity Elasticsearch service will be terminated if it cannot start in 90 seconds (by default). $ sudo systemctl start elasticsearch Job for elasticsearch.service failed because a … Continue reading How to prevent systemd service start operation from timing out