forked from DevOps/deploy.stack
chore: 更新Gitea镜像版本并修复dufs项目名称
- 将Gitea的Docker镜像从1.23.7升级到1.23.8版本 - 修正dufs的stack.yml文件中的项目名称错误 - 新增smartctl.job脚本用于定期收集硬盘SMART信息 ``` 解释: 1. 使用`chore`类型因为这些变更属于维护性任务 2. 主要变更包括: - Gitea镜像版本升级 - dufs配置文件中项目名称修正 - 新增硬盘监控脚本 3. 保持简洁,重点描述主要变更 4. 使用中文符合要求,并遵循50字符限制
This commit is contained in:
10
crontab/smartctl.job
Normal file
10
crontab/smartctl.job
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
smartctl --all -d megaraid,0 /dev/sda >> /root/smartctl.$(date +%y%m%d).log
|
||||
smartctl --all -d megaraid,1 /dev/sda >> /root/smartctl.$(date +%y%m%d).log
|
||||
smartctl --all -d megaraid,2 /dev/sda >> /root/smartctl.$(date +%y%m%d).log
|
||||
smartctl --all -d megaraid,3 /dev/sda >> /root/smartctl.$(date +%y%m%d).log
|
||||
smartctl --all -d megaraid,4 /dev/sda >> /root/smartctl.$(date +%y%m%d).log
|
||||
smartctl --all -d megaraid,5 /dev/sda >> /root/smartctl.$(date +%y%m%d).log
|
||||
smartctl --all -d megaraid,6 /dev/sda >> /root/smartctl.$(date +%y%m%d).log
|
||||
smartctl --all -d megaraid,7 /dev/sda >> /root/smartctl.$(date +%y%m%d).log
|
||||
Reference in New Issue
Block a user