|
|
本帖最后由 QQ66566 于 2019-10-24 21:40 编辑 . x+ R! q; j) V% ~* L
& P6 I6 m$ f2 m% W0 f3 G搞定很不错。
2 M/ _/ i7 {' F0 ^. S) U) }, G下载对应猫盘文件. B8 Z# d% m" m( y; b
https://github.com/philippe44/AirConnect8 @ {/ s. g$ _6 u& ^' R, c, z
bin/aircase-aarch64
; p6 s% a. l& M2 Ybin/airupnp-aarch64
. c4 b. w. X- V0 {' Q! j6 c8 d6 m
添加服务6 { w* n% ?( \) v
nano /etc/systemd/system/airupnp.service4 }) T; p" ], j5 f
}$ k9 s' V% r7 Q' I/ `# d. {" F; \
! R3 ~$ s- J' H( g3 x+ L7 t; t[Unit] & X1 U$ T8 X( T% L7 ~; E2 O- X* ]
Description=AirUPnP bridge / E$ l C7 u+ T) M2 x5 D; s
After=network-online.target & U; H4 }% y, f. ^& g( G Y
Wants=network-online.target 1 v$ b$ U2 N# j
8 O5 D* o5 j. e) N* C1 f
[Service] & @( z+ W3 `. M4 E7 ]
ExecStart=/var/lib/airconnect/airupnp-aarch64 -l 1000:2000 -Z -x /var/lib/airconnect/airupnp.xml 0 x+ _7 ^) q+ u7 V8 K
Restart=on-failure $ \0 c: {- D+ ], x* v
RestartSec=30
5 I/ K, o' o, ?; L0 _; t/ v
w% P) q1 G0 i; J[Install] + f$ ~9 w o9 b. x. {& `
WantedBy=multi-user.target
/ E, G+ H- W$ @+ M+ y. z; [- [2 Y, M/ d$ s. \+ T
启动服务3 l8 C8 K) K& R/ F+ |' L' _
systemctl start airupnp.service8 ^' B& R9 o3 D) T4 q
停止服务3 K. s; g3 T3 o
systemctl stop airupnp.service a- y8 M- y/ P. U
添加启动服务
' q+ w# _5 W+ ]/ B/ F2 Ksystemctl enable airupnp.service3 o* @( d ^6 C# z8 d2 ^& h
查看服务0 b, N+ K' z0 m
systemctl status airupnp.service
9 L) r# T/ r6 e" m, j6 @0 c4 n: n2 ]0 q* k
|
|