同步操作将从 兰德网络O2OA平台软件/O2OA 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
#!/bin/bash# Copyright (c) http://www.o2oa.net/current_dir="$(cd "$(dirname "0ドル")"; pwd)"if [ -d ${current_dir}/local/update ]thenfor D in commons configSample localSample jvm servers store config localdoif [ ! -d ${current_dir}/$D ]thenmkdir ${current_dir}/commonsfidoneif [ -f ${current_dir}/local/update/o2server/version.o2 ]thenecho 'update o2server.'for D in commons configSample localSample jvm servers storedoif [ -d ${current_dir}/local/update/o2server/$D ]thenecho "update ${current_dir}/$D."cp -Rf -p ${current_dir}/local/update/o2server/$D ${current_dir}/fidonefor F in console.jar index.html src.zipdoif [ -f ${current_dir}/local/update/o2server/$F ]thenecho "update ${current_dir}/$F."cp -f -p ${current_dir}/local/update/o2server/$F ${current_dir}/fidonefor A in "start" "stop" "restart" "console" "service"dofor B in "_windows.bat" "_linux.sh" "_macos.sh" "_arm.sh" "_mips.sh" "_raspi.sh" "_aix.sh"doif [ -f ${current_dir}/local/update/o2server/$A$B ]; thenecho "update ${current_dir}/$A$B."cp -f -p ${current_dir}/local/update/o2server/$A$B ${current_dir}/fidonedoneecho "update ${current_dir}/version.o2."cp ${current_dir}/local/update/o2server/version.o2 ${current_dir}/echo "clean local/update directory."rm -Rf ${current_dir}/local/updateecho "the update is complete, please restart the server."exit 1fifisetsid /home/ray/Coding/Java/jvm/graalvm-java17/bin/java -Dnashorn.args=--no-deprecation-warning --add-exports jdk.scripting.nashorn/jdk.nashorn.internal.runtime=ALL-UNNAMED --add-exports jdk.scripting.nashorn/jdk.nashorn.internal.runtime.arrays=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED -javaagent:${current_dir}/console.jar -server -Djava.awt.headless=true -XX:+PrintFlagsFinal -Xms256m -Xmx1024m -Duser.timezone=GMT+08 -XX:+HeapDumpOnOutOfMemoryError -jar ${current_dir}/console.jar
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。