# Documentation of Standalone Mode & State Scripts is unclear

**URL:** <https://hub.mender.io/t/documentation-of-standalone-mode-state-scripts-is-unclear/808>\
**Category:** General Discussions\
**Tags:** standalone, state-scripts, documentation\
**Created:** [July 10, 2019, 7:18am UTC](https://hub.mender.io/t/documentation-of-standalone-mode-state-scripts-is-unclear/808 "2019-07-10T07:18:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pbrkr](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/pbrkr/32/283_2.png) [@pbrkr](https://hub.mender.io/u/pbrkr)\
**Post date:** [July 10, 2019, 7:18am UTC](https://hub.mender.io/t/documentation-of-standalone-mode-state-scripts-is-unclear/808/1 "2019-07-10T07:18:19Z")

</div>

Looking at the current documentation (Mender 2.0), the page on Standalone Deployments ([https://docs.mender.io/2.0/architecture/standalone-deployments](https://docs.mender.io/2.0/architecture/standalone-deployments)) says:

> Note that state scripts are a feature of managed mode. State scripts are not executed when running Mender in standalone mode.

However, the page on state scripts has a section on standalone mode ([https://docs.mender.io/2.0/artifacts/state-scripts#standalone-mode](https://docs.mender.io/2.0/artifacts/state-scripts#standalone-mode)) which suggests that a subset of the state scripts are executed.

I think this needs some clarification so I can be sure if state scripts do or don’t execute in standalone mode.

---

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [July 10, 2019, 7:48am UTC](https://hub.mender.io/t/documentation-of-standalone-mode-state-scripts-is-unclear/808/2 "2019-07-10T07:48:45Z")

</div>

You are indeed right, fixed here: [https://github.com/mendersoftware/mender-docs/pull/724](https://github.com/mendersoftware/mender-docs/pull/724)

---

<div class="post-metadata">

**Author:** ![pbrkr](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/pbrkr/32/283_2.png) [@pbrkr](https://hub.mender.io/u/pbrkr)\
**Post date:** [July 10, 2019, 7:58am UTC](https://hub.mender.io/t/documentation-of-standalone-mode-state-scripts-is-unclear/808/3 "2019-07-10T07:58:07Z")

</div>

@kacf - Thanks for the quick fix there!
