Closed luchmedia closed 6 years ago
In noia-node.service
set Environment=NOIA_NODE_USER_DATA_PATH=
to /home/myuser/.noia-node-cli/
Also, I would suggest to set User
and Group
to "myuser", because running untested software as root is a security issue.
@maaft I understood that the location cache was the cache location. I run noia-node-cli already as "myuser", i only install cli node with npm with sudo permissions
If your run the software with sudo systemctl start noia-node.service
and that file contains:
User=root
Group=root
the node will be run as root.
Is your problem solved? If yes, feel free to close the issue.
Thanks for submitting an issue. I am closing this issue, if it's not yet resolved, please re-open.
I installed noia-node-cli globally with npm in
/usr/bin/
directory. After that i launched it with command to set master address, i setted wallet address, cache folder, ecc. I setted alsonoia-node.service
placing it in/etc/systemd/system/
, maked it executable, update systemctl daemon, enabled service e started it. If i check service status returns me this error:If i run node luanching simply command "noia-node-cli" it works fine and uptime in
/home/myuser/.noia-node-cli/statistics.json
increases correctlyMy noia-node.service file: