開機啟動
npm i -g --unsafe-perm pm2
pm2 start mosquitto -- -v -c /data/data/com.termux/files/usr/etc/mosquitto/mosquitto.conf
pm2 start node-red --node-args="--max-old-space-size=128" -- -v
pm2 start cloudcmd
pm2 save
nano .bashrc
sshd
pm2 resurrect

Last updated
Was this helpful?