Added CT's NodeJS, NodeRed, z2mqtt & nextcloud

This commit is contained in:
2021-09-28 02:06:22 +00:00
parent 57c54aaa07
commit cc6f043f9e
14 changed files with 486 additions and 20 deletions

View File

@@ -0,0 +1,10 @@
#!/bin/ash
#Run folowing commands as 'node' user
sudo -u node ash << EOF
pm2 stop zigbee2mqtt
cd /opt/node/zigbee2mqtt
ash update.sh
pm2 start zigbee2mqtt
EOF