2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-06 20:03:13 +08:00

fix(install script): oom

This commit is contained in:
耗子
2023-07-20 01:30:35 +08:00
parent feb377a8f1
commit 6ef713ab3d
3 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ func init() {
"connections": map[string]any{
"panel": map[string]any{
"driver": "sqlite",
"database": "database/panel.db",
"database": "/www/panel/database/panel.db",
"prefix": "",
"singular": false, // Table name is singular
},

View File

@@ -1,4 +1,4 @@
APP_ENV=local
APP_ENV=production
APP_KEY=
APP_DEBUG=true
APP_HOST=0.0.0.0

View File

@@ -215,7 +215,7 @@ Wants=network.target
[Service]
Type=simple
WorkingDirectory=${setup_Path}/panel/
ExecStart=./panel --env="panel.conf"
ExecStart=/www/panel/panel --env="/www/panel/panel.conf"
ExecReload=kill -s HUP \$MAINPID
ExecStop=kill -s QUIT \$MAINPID
User=root