I have installed nod red. The problem is everytime I log out the nodered seems to be offline. I need to restart each time I log in via node-red command.
7 Jul 13:22:17 - [info]
Welcome to Node-RED
7 Jul 13:22:17 - [info] Node-RED version: v1.0.6
7 Jul 13:22:17 - [info] Node.js version: v8.10.0
7 Jul 13:22:17 - [info] Linux 5.3.0-1026-gcp x64 LE
7 Jul 13:22:17 - [info] Loading palette nodes
7 Jul 13:22:18 - [info] Settings file : /home/prizal_gmail_com/.node-red/settings.js
7 Jul 13:22:18 - [info] Context store : 'default' [module=memory]
7 Jul 13:22:18 - [info] User directory : /home/prizal_gmail_com/.node-red
7 Jul 13:22:18 - [warn] Projects disabled : editorTheme.projects.enabled=false
7 Jul 13:22:18 - [info] Flows file : /home/prizal_gmail_com/.node-red/flows_nyamuk.json
7 Jul 13:22:18 - [info] Server now running at http://127.0.0.1:1880/
7 Jul 13:22:18 - [warn]
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
I run this and fails
sudo systemctl enable node-red
Failed to enable unit: Unit file node-red.service does not exist.