mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-30 02:35:13 +08:00
🦄 Sync 2026-04-13 14:20:59
This commit is contained in:
1 parent
b8cc3fee94
commit
76a059ec89
5 files changed
+6
-7
No files matched your search
@@ -42,7 +42,7 @@ while [ 1 -eq 1 ]; do
|
||||
restart_count=$((restart_count + 1))
|
||||
echo "$restart_count" > "$stats_file"
|
||||
#echo "${cmd} 进程挂掉,重启" >> /tmp/log/passwall.log
|
||||
eval "$cmd 2>&1 &"
|
||||
sh -c "nohup $cmd 2>&1 &"
|
||||
sleep 1
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in new issue
Block a user