# Unable to start Node-red upon boot

**URL:** <https://discourse.nodered.org/t/unable-to-start-node-red-upon-boot/17353>\
**Category:** General\
**Created:** [31 October 2019 05:50 UTC](https://discourse.nodered.org/t/unable-to-start-node-red-upon-boot/17353 "2019-10-31T05:50:08Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [31 October 2019 17:53 UTC](https://discourse.nodered.org/t/unable-to-start-node-red-upon-boot/17353/15 "2019-10-31T17:53:45Z")

</div>

> [@iDeeW](#):
>
> I have the script on the below path
> 
> ```auto
> /etc/systemd/system/node-red.servic
> 
> ```

That is not the right service file. Look at the `systemd status` output and you will see it is where I suggested. Also the one you have posted is node-red.service, whereas the correct one is nodered.service.  
Sorry, I didn't mean you to repost all the stuff you had already posted, I just meant for the future, the systemd script for example. I you click the \</\> button above the edit box when posting and paste the text there it will stop the forum from reformatting it.

Also what do  
`ls -l /usr/bin/env`  
and  
`which env`  
show?

---

_[View the full topic](https://discourse.nodered.org/t/unable-to-start-node-red-upon-boot/17353)._
