Change default config location (again); support auto-locating and moving old configs

This commit is contained in:
Dane Everitt
2020-05-09 15:37:49 -07:00
parent 483b652087
commit fd83424ee2
3 changed files with 94 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ import (
"sync"
)
const DefaultLocation = "/var/lib/pterodactyl/config.yml"
const DefaultLocation = "/etc/pterodactyl/config.yml"
type Configuration struct {
sync.RWMutex `json:"-" yaml:"-"`