--- tags: 其他 --- # 問題排除 ## 門市連線 示範軟體[mobaxterm](https://mobaxterm.mobatek.net/) * add new session ![](https://i.imgur.com/f39Mbo5.png) * SSH設定 * remote host=門市rpi ip ![](https://i.imgur.com/25voYNh.png) * 輸入帳號、密碼 ## 印表機 ```bash #查詢印表機連接 systemctl list-unit-files pos-print.service #查詢印表機狀態 systemctl status pos-print #印表機服務重啟 sudo systemctl restart pos-print #遠端測試列印(不是每台都有放test_print_receipt.sh) /opt/tk3c/bin/test_print_receipt.sh ``` ## API ```bash # 狀態查詢 sudo systemctl status tomcat # 重啟Tomee sudo systemctl restart tomcat ``` ## MQTT ```bash # 重啟 sudo systemctl restart mosquitto ```