11 lines
186 B
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
while true; do
# 运行你的程序
./dist/backend/backend
# 程序退出后等待5秒
echo "程序已退出5秒后重新启动..."
sleep 5
done