mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-14 19:48:12 +08:00
15 lines
376 B
Go
15 lines
376 B
Go
package constant
|
|
|
|
import (
|
|
"path"
|
|
)
|
|
|
|
var (
|
|
DefaultDataDir = "/opt/1Panel/data"
|
|
LogDir = "opt/1Panel/log"
|
|
ResourceDir = path.Join(DefaultDataDir, "resource")
|
|
AppResourceDir = path.Join(ResourceDir, "apps")
|
|
AppInstallDir = path.Join(DefaultDataDir, "apps")
|
|
BackupDir = path.Join(DefaultDataDir, "backup")
|
|
AppBackupDir = path.Join(BackupDir, "apps")
|
|
)
|