This website works better with JavaScript.
Explore
Help
Register
Sign In
pneymrl2f
/
nightingale
Watch
1
Star
0
Fork
You've already forked nightingale
1
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
e12877c3fb
tsx
master
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'e12877c3fb'
${ noResults }
nightingale
/
etc
/
index.yml
8 lines
103 B
Raw
Normal View
History
Unescape
Escape
init project
5 years ago
logger
:
dir
:
logs/index
level
:
WARNING
keepHours
:
2
identity
:
specify
:
""
更新IP地址的获取方式 在不同操作系统下全路径不一样,比如上述的 ifconfig / route 在 Debian 系统的 /sbin 目录下。 另外 Debian 打印出来 多 'addr:' 需要多处理 /sbin/ifconfig `/sbin/route|grep '^default'|awk '{print $NF}'`|grep inet|awk '{print $2}'|awk -F':' '{print $2}'|head -n 1 还不如直接 hostname -i 获取,正常配置下都Okay的。
5 years ago
shell
:
hostname -i