Merge pull request #19 from higkoo/patch-3

更新IP的获取方式
master
ulricqin 5 years ago committed by GitHub
commit e12877c3fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -14,7 +14,7 @@ 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

Loading…
Cancel
Save