Files
huike-back/run_rotate.sh
T
weli 44c320d8fa chore add core rust project files and diesel migrations
Track required workspace crates, scripts, and historical diesel migrations so the repository contains the complete runnable backend baseline.

Made-with: Cursor
2026-04-23 17:20:01 +08:00

13 lines
354 B
Bash
Executable File

#!/bin/sh
set -x
HUIWING="/mnt/huiwing/huiwing"
cd $HUIWING/htyuc || exit
/usr/sbin/logrotate -v -s ./logrotate.status ./logrotate.config
cd $HUIWING/htyws || exit
/usr/sbin/logrotate -v -s ./logrotate.status ./logrotate.config
AUTHCORE="/mnt/huiwing/AuthCore"
cd $AUTHCORE/htyuc || exit
/usr/sbin/logrotate -v -s ./logrotate.status ./logrotate.config