Updated on 2026-01-31 GMT+08:00

Configuring systemd Timeout Parameters

Scenario

Configure time parameters to prevent iMetal server provisioning timeout.

Procedure

Run the following command:

vi /etc/systemd/system.conf

Delete the comment tags (#) before DefaultTimeoutStartSec and DefaultTimeoutStopSec, and change their values to 300s.

#TimeSlackNSec=
#DefaultTimerAccuracySec=1min
#DefaultStandardOutput=journal
#DefaultStandardError=inherit
DefaultTimeoutStartSec=300s
DefaultTimeoutStopSec=300s
#DefaultRestartSec=100ms
#DefaultStartLimitInterval=10s
#DefaultStartLimitBurst=5
#DefaultEnvironment=
#DefaultCPUAccounting=no
#DefaultBlockIOAccounting=no