You are browsing documentation for a version other than the latest stable release. Switch to the latest stable release, 1.6.

Image configuration

In this section we look at the configuration that can be modified due to requirements from a certain build or device.

Disabling Mender as a system service

If you do not want Mender to run as a system service, and you prefer to carry out update steps manually using the command line client interface, you can disable the service that starts Mender at boot.

This is simple to accomplish by adding a recipes-mender/mender/mender_%.bbappend file in your Yocto Project layer, with the following content:


In this case it is also possible to avoid Mender's current dependency on systemd. If you do not wish to enable systemd in your build, instead of inheriting mender-full in local.conf, you should inherit each of the classes that mender-full inherits, except mender-systemd. Also, you do not need any daemon-related configuration items in your conf/local.conf as outlined in the section on configuring the Yocto Project build. Currently you can use the following snippet for Mender in your conf/local.conf to completely disable Mender as a daemon (but please verify what mender-full inherits at the time you make this change):

INHERIT += "mender-uboot mender-image mender-install"
MACHINE = "vexpress-qemu"  # replace with the desired machine

If you disable Mender running as a daemon under systemd, you must run all required Mender commands from the CLI or scripts. Most notably, you need to run mender -commit after booting into and verifying a successful deployment. When running in managed mode, any pending mender -commit will automatically be run by the Mender daemon after it starts. See Modes of operation for more information about the difference.

Configuring polling intervals

You can configure how frequently the Mender client will make requests to the Mender server as described in Polling intervals before starting the build process.

In order to do this, change the following in the file meta-mender/meta-mender-core/recipes-mender/mender/


Configuring server address and port

If the client should connect to a different address than the default of, then you should specify this variable in your local.conf:


Port numbers can be specified in the same way as you would in a browser, as a colon after the address followed by the number, for example

Note that the https protocol specifier is required in the address. For security reasons, Mender does not support the plaintext http protocol.