File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,6 @@ RED=$RED_DIR/red.js
11
11
12
12
SETTINGS=$ADDON_DIR /settings.js
13
13
14
- LOG=/var/log/node-red.log
15
-
16
14
Stop () {
17
15
PSPID=` ps -o pid,comm,args | awk ' {if($3 == "node-red" || $4 ~ /node-red/){print $1}}' `
18
16
if [ " $PSPID " != " " ]
@@ -33,7 +31,7 @@ Stop () {
33
31
34
32
Start () {
35
33
echo -n " Starting Node-RED: "
36
- $NODE $RED -s $SETTINGS >> $LOG &
34
+ $NODE $RED -s $SETTINGS | logger -p user.info -t node-red &
37
35
logger -t homematic -p user.info " started node-red"
38
36
echo " OK"
39
37
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " ccu-addon-node-red" ,
3
- "version" : " 0.0.3 " ,
3
+ "version" : " 0.0.4 " ,
4
4
"description" : " Node-RED packaged as Homematic CCU addon" ,
5
5
"repository" : " github:hobbyquaker/ccu-addon-node-red" ,
6
6
"private" : true ,
You can’t perform that action at this time.
0 commit comments