> For the complete documentation index, see [llms.txt](https://kawsing.gitbook.io/opensystem/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kawsing.gitbook.io/opensystem/andoid-shou-ji/termux/kai-ji-qi-dong.md).

# 開機啟動

## 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
```

![](/files/-LmmujStGEZ9AKWliALX)
