# Post-update reboot

**URL:** https://hub.mender.io/t/post-update-reboot/1304
**Category:** General Discussions
**Created:** [November 30, 2019, 3:27pm UTC](https://hub.mender.io/t/post-update-reboot/1304 "2019-11-30T15:27:27Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![stroate](https://avatars.discourse-cdn.com/v4/letter/s/6bbea6/32.png) [@stroate](https://hub.mender.io/u/stroate)
#### Post date: [November 30, 2019, 3:27pm UTC](https://hub.mender.io/t/post-update-reboot/1304/1 "2019-11-30T15:27:27Z")

</div>

I’m messing around with Mender for my thesis and so far, I successfully authorized and updated my device in a demo environment, using a directory Update Module. Next is to reboot the device after the update has completed. I’m aware of the ArtifactReboot state but can’t seem to figure out how to set the NeedsArtifactReboot flag to “Automatic”. Is it during the artifact creation? If so, what’s the argument to use? If not, how else can I tell my device to reboot after the update completes? Any help would be much appreciated!

---

<div class="post-metadata">

### Author: ![mirzak](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/mirzak/32/2056_2.png) [@mirzak](https://hub.mender.io/u/mirzak)
#### Post date: [December 2, 2019, 7:11am UTC](https://hub.mender.io/t/post-update-reboot/1304/2 "2019-12-02T07:11:35Z")

</div>

You need to set this in your Update Module. You can take a look at the following as a reference,

> <https://github.com/mendersoftware/mender/blob/master/tests/rootfs-image-v2>
