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:
@@ -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
|
||||
},
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
APP_ENV=local
|
||||
APP_ENV=production
|
||||
APP_KEY=
|
||||
APP_DEBUG=true
|
||||
APP_HOST=0.0.0.0
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user