1
0
This commit is contained in:
2024-04-17 18:37:16 +08:00
parent e603a06880
commit 7cbfd4757e
2 changed files with 2 additions and 0 deletions

View File

@@ -69,6 +69,7 @@ if [ ! -e "${RedisRootDir}/bin/adb-server" ]; then
# copy the orangin dump.rdb
if [ -e "${RedisOldRootDir}/bin/conf/dump.rdb" ]; then
cp -f ${RedisOldRootDir}/bin/conf/dump.rdb ${RedisConfDir};
mv -rf ${RedisRootDir}/db ${RedisRootDir}/adb.old
fi
# cp -f ${DependsRootDir}/systemd/adb.service ${SystemdRootDir}
fi

View File

@@ -69,6 +69,7 @@ if [ ! -e "${RedisRootDir}/bin/adb-server" ]; then
# copy the orangin dump.rdb
if [ -e "${RedisOldRootDir}/bin/conf/dump.rdb" ]; then
cp -f ${RedisOldRootDir}/bin/conf/dump.rdb ${RedisConfDir};
mv -rf ${RedisRootDir}/db ${RedisRootDir}/adb.old
fi
# cp -f ${DependsRootDir}/systemd/adb.service ${SystemdRootDir}
fi