# Disabling mender systemd service for standalone deployments

**URL:** https://hub.mender.io/t/disabling-mender-systemd-service-for-standalone-deployments/3799
**Category:** General Discussions
**Tags:** yocto, nxp
**Created:** [June 25, 2021, 9:50pm UTC](https://hub.mender.io/t/disabling-mender-systemd-service-for-standalone-deployments/3799 "2021-06-25T21:50:29Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![darts476](https://avatars.discourse-cdn.com/v4/letter/d/8e7dd6/32.png) [@darts476](https://hub.mender.io/u/darts476)
#### Post date: [June 25, 2021, 9:50pm UTC](https://hub.mender.io/t/disabling-mender-systemd-service-for-standalone-deployments/3799/1 "2021-06-25T21:50:29Z")

</div>

I’m trying to use mender in a standalone mode. According to this link

[https://docs.mender.io/development/system-updates-yocto-project/customize-mender#disabling-mender-as-a-system-service](https://docs.mender.io/development/system-updates-yocto-project/customize-mender#disabling-mender-as-a-system-service)

I need to disable the systemd service, which I can confirm is running. However, when I add this line to my `local.conf`

```auto
MENDER_FEATURES_DISABLE_append = " mender-systemd"

```

I see this error in building

```auto
ERROR: mender-configure-1.0.0-r0 do_package: SYSTEMD_SERVICE_mender-configure value mender-configure-apply-device-config.service does not exist

```

Is there a step I’m missing to disable this service?

---

<div class="post-metadata">

### Author: ![dellgreen](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/dellgreen/32/85_2.png) [@dellgreen](https://hub.mender.io/u/dellgreen)
#### Post date: [June 25, 2021, 10:09pm UTC](https://hub.mender.io/t/disabling-mender-systemd-service-for-standalone-deployments/3799/2 "2021-06-25T22:09:34Z")

</div>

Theres some discussion here on the topic, mender.service got renamed mender-client.service at some point.

> [@Error disabling systemd](https://hub.mender.io/t/error-disabling-systemd/3685/5):
>
> First, I think the documentation has a bug: meta-mender/meta-mender-core/recipes-mender doesn’t contain a mender directory (nor mender\_%.bb), so shouldn’t my layer contain recipes-mender/mender-client/mender-client\_%.bbappend instead? With this change, I did a bitbake -e mender-client and see this: # $SYSTEMD\_AUTO\_ENABLE [4 operations] # set /yocto-src/sources/poky/meta/conf/documentation.conf:403 # [doc] "For recipes that inherit the systemd class, this variable specifies whether the …

---

<div class="post-metadata">

### Author: ![darts476](https://avatars.discourse-cdn.com/v4/letter/d/8e7dd6/32.png) [@darts476](https://hub.mender.io/u/darts476)
#### Post date: [June 25, 2021, 10:10pm UTC](https://hub.mender.io/t/disabling-mender-systemd-service-for-standalone-deployments/3799/3 "2021-06-25T22:10:34Z")

</div>

@dellgreen thanks and sorry for the double post. I just ran across it.
