For now, chown the server directory when the server starts

This commit is contained in:
Dane Everitt
2019-05-09 21:48:58 -07:00
parent e95c22a526
commit 7a52e3a9c2
3 changed files with 72 additions and 11 deletions

View File

@@ -200,7 +200,7 @@ func FromConfiguration(data []byte, cfg *config.SystemConfiguration) (*Server, e
s.Environment = env
s.Cache = cache.New(time.Minute*10, time.Minute*15)
s.Filesystem = &Filesystem{
Root: cfg.Data,
Configuration: cfg,
Server: s,
}