Node-red is not starting on boot

Dear...
finally node red running, only not when i start my Odroid N2
I run armbian on my N2..


Welcome to Node-RED
===================

7 Sep 15:58:27 - [info] Node-RED version: v0.20.7
7 Sep 15:58:27 - [info] Node.js  version: v10.16.3
7 Sep 15:58:27 - [info] Linux 4.9.190-odroidn2 arm64 LE
7 Sep 15:58:28 - [info] Loading palette nodes
7 Sep 15:58:29 - [warn] rpi-gpio : Raspberry Pi specific node set inactive
7 Sep 15:58:29 - [warn] rpi-gpio : Cannot find Pi RPi.GPIO python library
7 Sep 15:58:29 - [info] Settings file  : /home/pi/.node-red/settings.js
7 Sep 15:58:29 - [info] Context store  : 'default' [module=memory]
7 Sep 15:58:29 - [info] User directory : /home/pi/.node-red/
7 Sep 15:58:29 - [warn] Projects disabled : editorTheme.projects.enabled=false
7 Sep 15:58:29 - [info] Flows file     : /home/pi/.node-red/flows_odroidn2.json
7 Sep 15:58:29 - [info] Creating new flow file
7 Sep 15:58:29 - [info] Starting flows
7 Sep 15:58:29 - [info] Started flows
7 Sep 15:58:29 - [info] Server now running at http://192.168.5.70:1880/
7 Sep 15:59:13 - [info] Stopping flows
7 Sep 15:59:13 - [info] Stopped flows
7 Sep 15:59:13 - [info] Starting flows
7 Sep 15:59:13 - [info] Started flows

I found on the web that has to be a service file:


pi@odroidn2:~$ sudo systemctl enable nodered.service
[sudo] password for pi:
Failed to enable unit: Unit file nodered.service does not exist.
pi@odroidn2:~$

The file should be here:
Service file

/lib/systemd/system/nodered.service

Only i cannot find a file like this..
So i hope there is someone..

the service file can be found here
https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/nodered.service

this is for Pi users so you will need to edit it to change the user (pi) to the one you want to run Node-RED as.

Thanks

Just put the file in the directory?
And change some things?
Root or user file?

Yes you will need to change these lines to match your setup

User=pi
Group=pi
 WorkingDirectory=/home/pi

Sorry

Do not understand...

Do i place the file in to:
/lib/systemd/system/

And give the name:
nodered.service

Or do i need the place the line into:
WorkingDirectory=/home/pi/nodered [ my place ]

Yes the first of those two options