OneBot: Leantime 改造版源码(BOM/Univer 表格/AI 接管/品牌替换等)
This commit is contained in:
19
.dev/remote-deploy/09_storage.sh
Normal file
19
.dev/remote-deploy/09_storage.sh
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
APP_DIR=/var/www/onebot
|
||||
|
||||
echo "=== 重建 storage 目录结构 ==="
|
||||
mkdir -p "$APP_DIR/storage/app"
|
||||
mkdir -p "$APP_DIR/storage/framework/cache"
|
||||
mkdir -p "$APP_DIR/storage/framework/sessions"
|
||||
mkdir -p "$APP_DIR/storage/framework/views"
|
||||
mkdir -p "$APP_DIR/storage/logs"
|
||||
mkdir -p "$APP_DIR/storage/backupdb"
|
||||
mkdir -p "$APP_DIR/userfiles"
|
||||
|
||||
chown -R rui:www-data "$APP_DIR/storage" "$APP_DIR/userfiles"
|
||||
chmod -R 775 "$APP_DIR/storage" "$APP_DIR/userfiles"
|
||||
|
||||
echo "=== storage 目录 ==="
|
||||
ls -la "$APP_DIR/storage/"
|
||||
echo "DONE"
|
||||
Reference in New Issue
Block a user