|
发表于 2020-3-7 13:57:17
|
显示全部楼层
紫萱紫萱 发表于 2020-3-6 22:053 |/ V' W3 ^6 B" ]
120j测试
" M+ [* [7 s" m3 k$ U* n7 e改为0 a/ o, M" ?9 H- X' m
smartctl -a /dev/hda -d ata | sed -n '/Temperature_Celsius/p' | awk '{print $10}'
0 [; r2 e8 L! t" S3 M层主,你120J是用什么办法休眠的?我按照http://bbs.nasdiyer.com/forum.ph ... =%E4%BC%91%E7%9C%A0在SSH里面找不到他图片上的内容
& Y& z! e6 ^2 @( P R6 |9 Y8 hlogin as: admin
/ @7 Y1 ^ \! e* O/ J[email protected]'s password:
4 {2 y$ c1 w9 E% m& Q1 a* Yadmin@DS120J:~$ sudo vi /etc/init/syslog-ng.conf
: M; I2 `: Y! [: @Password:
h" Q( o3 v' V0 W- M" M) \author "Development Infrastructure Team"
; X, V( V# Y, X& h4 x3 f0 m% adescription "start syslog-ng"
3 P, j: c" F( r4 a
9 \; O: ?* Y: l. h* E9 N* ?$ cstart on stopped hostname- w# Y0 w; p& c. Y
+ e& |5 p/ ~ y" ?' i7 Ioom score -999
* ?4 ], U( p( ^
1 U8 i. n/ C) m. srespawn- V1 j( L \; Q3 h9 U8 q$ u9 V
respawn limit 5 10
& ^ c0 o" n" G( v+ t
% ]( y' Y$ F \! \2 t2 gconsole log1 L$ `- D- N, L+ @( ?
f% u* b& {3 t' B8 ?9 Kpre-start script
6 q& \2 [! h5 d # skip pre-start for synoservice --reload syslog-ng2 n% M: t( T3 d6 n0 Q) E
if ! /bin/flock -n /var/run/syslog-ng.lock true; then
8 V4 `4 I* [% \( p7 X exit 0
E, N5 x8 @0 c) p fi" N% G5 ]7 y) M% g
2 _' \$ e. O& @# D' B5 R4 S
# check /dev/log is a domain socket file. i+ t6 U; I3 ~/ B( i! Q
# prevent error='Address already in use (98)'; }+ v" J& L; ?; f- Y: l
if [ ! -S /dev/log ]; then
K4 ~9 {1 d& k, ?& n rm -f /dev/log
6 z: z! I: ~2 O# P+ K fi
0 |" l8 ?6 M* A/ q3 n, ]"/etc/init/syslog-ng.conf" 78L, 2216C 1,1 Top$ w) t+ y6 J2 K7 m- p. r
不知道该在哪里添加 |
|