update to make passwd file path configurable

This commit is contained in:
Michael (Parker) Parker
2023-12-18 14:32:40 -05:00
parent 178fc54332
commit e5c8f50184
2 changed files with 5 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ func (s *Server) Mounts() []environment.Mount {
passwdMount := environment.Mount{
Default: true,
Target: "/etc/passwd",
Source: "/etc/pterodactyl/passwd",
Source: config.Get().System.User.PasswdFile,
ReadOnly: true,
}