1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nodered_ynh.git synced 2024-09-03 19:46:25 +02:00
nodered_ynh/conf/systemd.service

17 lines
350 B
SYSTEMD
Raw Normal View History

2019-05-29 00:20:58 +02:00
[Unit]
Description=Node-RED server
2019-05-29 00:20:58 +02:00
After=network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__/
2021-05-25 10:41:05 +02:00
Environment="__YNH_NODE_LOAD_PATH__"
ExecStart=__YNH_NODE__ red.js -p __PORT__ -u __FINALPATH__/data
StandardOutput=append:/var/log/__APP__/__APP__.log
StandardError=inherit
2019-05-29 00:20:58 +02:00
[Install]
WantedBy=multi-user.target