[Unit] Description=Node-RED server After=network.target [Service] Type=simple User=__APP__ Group=__APP__ WorkingDirectory=__FINALPATH__/ Environment="__YNH_NODE_LOAD_PATH__" ExecStart=__YNH_NODE__ red.js -p __PORT__ -u __FINALPATH__/data StandardOutput=append:/var/log/__APP__/__APP__.log StandardError=inherit [Install] WantedBy=multi-user.target