#156 增加tmpfiles描述文件,自动删除日志与临时文件。调整目录结构,默认安装到/opt/tsg/tfe下。

This commit is contained in:
luqiuwen
2019-09-16 19:11:39 +08:00
parent f1fd1d0ad3
commit 1d45bebe4f
5 changed files with 11 additions and 34 deletions

8
script/tmpfiles/tfe.conf Normal file
View File

@@ -0,0 +1,8 @@
#Type Path Mode User Group Age Argument
d /var/log/tfe/ 0755 - - 7d -
d /var/tmp/tfe/crashreport 0755 - - 30d -
d /var/tmp/tfe/pangu_files 0755 - - - 30d -
d /var/tmp/tfe/rulescan_tmp 0755 - - - 30d -
L /opt/tsg/tfe/log - - - - /var/log/tfe
L /opt/tsg/tfe/pangu_files - - - - /var/tmp/tfe/pangu_files
L /opt/tsg/tfe/rulescan_tmp - - - - /var/tmp/tfe/rulescan_tmp