Merge pull request #19 from higkoo/patch-3

更新IP的获取方式
This commit is contained in:
ulricqin 2020-03-24 10:28:39 +08:00 committed by GitHub
commit e12877c3fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -14,9 +14,9 @@ redis:
identity:
specify: ""
shell: /usr/sbin/ifconfig `/usr/sbin/route|grep '^default'|awk '{print $NF}'`|grep inet|awk '{print $2}'|head -n 1
shell: hostname -i
logger:
dir: logs/judge
level: WARNING
keepHours: 2
keepHours: 2