fix(deploy): use standard rustfs log directory (#2491)

Signed-off-by: 80347547 <jianglong@oppo.com>
Co-authored-by: 80347547 <jianglong@oppo.com>
This commit is contained in:
John
2026-04-11 21:48:05 +08:00
committed by GitHub
parent b0b7f56281
commit 11552eb722
3 changed files with 12 additions and 9 deletions
+3 -3
View File
@@ -147,8 +147,8 @@ add_ssh_key() {
monitor_logs() {
for SERVER in "${SERVER_LIST[@]}"; do
echo "Monitoring $SERVER:/var/logs/rustfs/rustfs.log ..."
ssh "$SERVER" "tail -F /var/logs/rustfs/rustfs.log" |
echo "Monitoring $SERVER:/var/log/rustfs/rustfs.log ..."
ssh "$SERVER" "tail -F /var/log/rustfs/rustfs.log" |
sed "s/^/[$SERVER] /" &
done
wait
@@ -210,4 +210,4 @@ case "$1" in
*)
echo "Usage: $0 {deploy|clear|stop|start|restart|addkey <pubkey_file>|monitor_logs|setenv <env_file>}"
;;
esac
esac