update at 2026-03-16 09:00:35
This commit is contained in:
@@ -35,7 +35,9 @@ END {
|
||||
mv "$TMP_FILE" "$ENV_FILE"
|
||||
|
||||
# 已运行的 dashboard 进程不会重新读取 env.sh,切换后先停掉它,
|
||||
# 避免旧进程继续按旧配置运行。
|
||||
# 然后立刻拉起新的 dashboard,避免用户还要再次手动启动。
|
||||
pkill -f "$DIR/dash.sh" 2>/dev/null || true
|
||||
sleep 1
|
||||
"$DIR/start.sh"
|
||||
|
||||
echo "已关闭 Dashboard 调试模式。当前 Dashboard 已停止,请重新启动 Kindle Dashboard。"
|
||||
echo "已关闭 Dashboard 调试模式,并自动重启 Kindle Dashboard。"
|
||||
|
||||
Reference in New Issue
Block a user