Changing mender.conf file

I am trying to change timeout values inside mender.conf file at /etc/mender/mender.conf . Even if I change values, the update runs on default values.

Is there anything I need to do prior ?

Thanks in advance.

Have you restarted the Mender client to read the updated values?

$ systemctl restart mender-client

Drew

Hi @drewmoseley,

Thank you. That solved it. :smiley:

I am trying in for StateScriptTimeoutSeconds. What is the maximum limit for StateScriptTimeoutSeconds ? I couldn’t find it in documentation.

We do not enforce an upper limit. The data type holding the value is probably the limiting factor. Probably INT32_MAX.

Note that it is not recommend to set this to high either. This is a mechanism to detect broken scripts, e.g scripts that do not return and get stuck and while StateScriptTimeoutSeconds is consumed the Mender client will be stuck.