# Running Node Red as a service on Raspberry Pi 4

**URL:** https://discourse.nodered.org/t/running-node-red-as-a-service-on-raspberry-pi-4/69646
**Category:** General
**Created:** [26 October 2022 21:29 UTC](https://discourse.nodered.org/t/running-node-red-as-a-service-on-raspberry-pi-4/69646 "2022-10-26T21:29:06Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![damica51](https://avatars.discourse-cdn.com/v4/letter/d/eb8c5e/32.png) [@damica51](https://discourse.nodered.org/u/damica51)
#### Post date: [26 October 2022 21:29 UTC](https://discourse.nodered.org/t/running-node-red-as-a-service-on-raspberry-pi-4/69646/1 "2022-10-26T21:29:06Z")

</div>

If I run Node Red as a service that starts up at boot, will my flow automattically start or will I somehow have to start it also?

---

<div class="post-metadata">

### Author: ![gerry](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gerry/32/21604_2.png) [@gerry](https://discourse.nodered.org/u/gerry)
#### Post date: [26 October 2022 21:32 UTC](https://discourse.nodered.org/t/running-node-red-as-a-service-on-raspberry-pi-4/69646/2 "2022-10-26T21:32:38Z")

</div>

If they are setup to start then yes they will just run

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [26 October 2022 21:35 UTC](https://discourse.nodered.org/t/running-node-red-as-a-service-on-raspberry-pi-4/69646/3 "2022-10-26T21:35:11Z")

</div>

once NR is started, it will be running. That means any input node that receives data will kick off.

For instance, lets say you have an `mqtt-in` node connected to a debug node. You won't see anything util a msg is published (by some device) using the topic that the `mqtt-in` node is watching.

If you have an `inject` node set to fire on deploy and every 5 seconds, then as soon as NR starts, the `inject` will send a msg and every 5 seconds after that.

---

<div class="post-metadata">

### Author: ![damica51](https://avatars.discourse-cdn.com/v4/letter/d/eb8c5e/32.png) [@damica51](https://discourse.nodered.org/u/damica51)
#### Post date: [26 October 2022 21:52 UTC](https://discourse.nodered.org/t/running-node-red-as-a-service-on-raspberry-pi-4/69646/4 "2022-10-26T21:52:32Z")

</div>

Thanks thats exactly what I needed to know.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [9 November 2022 21:52 UTC](https://discourse.nodered.org/t/running-node-red-as-a-service-on-raspberry-pi-4/69646/5 "2022-11-09T21:52:34Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
