z2qtt: fixed init script
yarn install using --cwd does not behave correctly
This commit is contained in:
@@ -13,7 +13,7 @@ printf "frontend:\n port: 5002" >> /opt/node/zigbee2mqtt/data/configuration.yam
|
|||||||
|
|
||||||
#Install zwavejs2mqtt
|
#Install zwavejs2mqtt
|
||||||
git clone https://github.com/zwave-js/zwavejs2mqtt /opt/node/zwavejs2mqtt
|
git clone https://github.com/zwave-js/zwavejs2mqtt /opt/node/zwavejs2mqtt
|
||||||
yarn --cwd /opt/node/zwavejs2mqtt install
|
(cd /opt/node/zwavejs2mqtt; yarn install)
|
||||||
yarn --cwd /opt/node/zwavejs2mqtt run build
|
yarn --cwd /opt/node/zwavejs2mqtt run build
|
||||||
|
|
||||||
#Save PM2 statup config
|
#Save PM2 statup config
|
||||||
|
|||||||
Reference in New Issue
Block a user