|
发表于 2021-10-5 07:41:15
|
显示全部楼层
我的正常,JAVA就安装群晖套件里那个。然后在终端里,后台运行webdav.jar就行。我是写了个脚本,扔后台跑。0 {- X! r4 H! W4 a% |2 C
+ Z( U8 ]' X7 z6 ~0 ?# ^* w" T
- export JAVA_OPTS="-Xmx256m"
( c- `! M/ C" L- t
& ?7 J( { R9 [1 T) b- cd "/volume1/@tools/aliyundrive"
5 y& }; m" w$ l- R' H' o - /var/packages/Java8/target/j2sdk-image/bin/java \
3 k, }; o' S2 O$ y - -jar ./bin/webdav.jar \
# k$ E2 m- \3 Z3 _. n - --server.port=8088 \
, p' b* B5 P, \+ n1 a! l: z - --aliyundrive.auth.user-name=admin \
% ^$ N- {4 }! [ - --aliyundrive.auth.password=XXXXXXX \
5 O- Q- m6 S, r$ Z8 z - --aliyundrive.work-dir="/volume1/@tools/aliyundrive/etc/" \
5 f" e( p3 N9 j. a g - --aliyundrive.refresh-token="XXXXXXXXXXXXXXXXXXXX"
复制代码 |
|