Ai
2 Star 3 Fork 2

xrkmonitor/monitor_apache_log

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
make_fabu.sh 932 Bytes
一键复制 编辑 原始数据 按行查看 历史
xrkmonitor 提交于 2021-12-11 07:32 +08:00 . up
#!/bin/bash
PLUGIN=monitor_apache_log
TARGET=${PLUGIN}.tar.gz
if [ $# -ne 1 ];then
echo "use ./make_fabu.sh open|cloud"
exit 1
fi
COMM_FILE="auto_install.sh auto_uninstall.sh restart.sh start.sh stop.sh add_crontab.sh remove_crontab.sh cron_${PLUGIN}.sh xrk_${PLUGIN} _apache_monitor_apache_log.conf "
rm -f $TARGET > /dev/null 2>&1
if [ "$1" == "cloud" ]; then
tar -czf ${TARGET} $COMM_FILE xrk_monitor_apache_log.conf
elif [ "$1" == "open" ]; then
tar -czf ${TARGET} $COMM_FILE
else
echo "use ./make_fabu.sh open|cloud"
fi
if [ -d /srv/www/monitor/download/packet/linux ]; then
echo "cp ${TARGET} /srv/www/monitor/download/packet/linux"
cp ${TARGET} /srv/www/monitor/download/packet/linux
elif [ -d /home/monitor_cms/public/monitor/download/packet/linux ]; then
echo "cp ${TARGET} /home/monitor_cms/public/monitor/download/packet/linux"
cp ${TARGET} /home/monitor_cms/public/monitor/download/packet/linux
fi
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/xrkmonitorcom/monitor_apache_log.git
git@gitee.com:xrkmonitorcom/monitor_apache_log.git
xrkmonitorcom
monitor_apache_log
monitor_apache_log
master

搜索帮助