We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a781caa commit 7c317c6Copy full SHA for 7c317c6
addon_files/node-red/node-red
@@ -11,8 +11,6 @@ RED=$RED_DIR/red.js
11
12
SETTINGS=$ADDON_DIR/settings.js
13
14
-LOG=/var/log/node-red.log
15
-
16
Stop () {
17
PSPID=`ps -o pid,comm,args | awk '{if($3 == "node-red" || $4 ~ /node-red/){print $1}}'`
18
if [ "$PSPID" != "" ]
@@ -33,7 +31,7 @@ Stop () {
33
31
34
32
Start () {
35
echo -n "Starting Node-RED: "
36
- $NODE $RED -s $SETTINGS >> $LOG &
+ $NODE $RED -s $SETTINGS | logger -p user.info -t node-red &
37
logger -t homematic -p user.info "started node-red"
38
echo "OK"
39
}
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "ccu-addon-node-red",
3
- "version": "0.0.3",
+ "version": "0.0.4",
4
"description": "Node-RED packaged as Homematic CCU addon",
5
"repository": "github:hobbyquaker/ccu-addon-node-red",
6
"private": true,
0 commit comments