chore(constants): remove and move constant paths

- Remove unused paths
- Move paths to inline constants if used only once
This commit is contained in:
Quentin McGaw
2022-01-29 15:34:59 +00:00
parent 5603e25542
commit c73369e11c
8 changed files with 22 additions and 33 deletions

View File

@@ -26,7 +26,7 @@ func New(logger Infoer, cmder command.RunStarter,
return &Configurator{
logger: logger,
cmder: cmder,
configPath: constants.OpenVPNConf,
configPath: configPath,
authFilePath: constants.OpenVPNAuthConf,
puid: puid,
pgid: pgid,