Files
huike-back/run_rotate.sh
T

13 lines
354 B
Bash
Raw Normal View History

#!/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