Add base logic to start implementing support for mounted filesystems

This commit is contained in:
Dane Everitt
2021-06-01 21:12:56 -07:00
committed by DaneEveritt
parent 058f643e65
commit 957257ecc3
6 changed files with 313 additions and 9 deletions

View File

@@ -120,6 +120,14 @@ type RemoteQueryConfiguration struct {
// SystemConfiguration defines basic system configuration settings.
type SystemConfiguration struct {
// UseVirtualDisks sets Wings to use virtual hard-disks when storing server
// files. This allows for more enforced disk space limits, at a slight performance
// cost.
//
// Generally this only needs to be enabled on systems with a large untrusted
// user presence, it is not necessary for self-hosting instances.
UseVirtualDisks bool `json:"use_virtual_disks" yaml:"use_virtual_disks"`
// The root directory where all of the pterodactyl data is stored at.
RootDirectory string `default:"/var/lib/pterodactyl" yaml:"root_directory"`