Maint: set PUID and PGID in openvpn configurator

This commit is contained in:
Quentin McGaw (desktop)
2021-08-18 15:44:58 +00:00
parent bd74879303
commit 5140a7b010
5 changed files with 14 additions and 17 deletions

View File

@@ -55,7 +55,7 @@ func (l *Loop) Run(ctx context.Context, done chan<- struct{}) {
if openVPNSettings.User != "" {
err := l.conf.WriteAuthFile(
openVPNSettings.User, openVPNSettings.Password, l.puid, l.pgid)
openVPNSettings.User, openVPNSettings.Password)
if err != nil {
l.signalOrSetStatus(constants.Crashed)
l.logAndWait(ctx, err)