aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tunnel/service.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tunnel/service.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/tunnel/service.go b/tunnel/service.go
index c0ead084..752b9561 100644
--- a/tunnel/service.go
+++ b/tunnel/service.go
@@ -117,6 +117,11 @@ func (service *Service) Execute(args []string, r <-chan svc.ChangeRequest, chang
serviceError = services.ErrorLoadConfiguration
return
}
+ err = CopyConfigOwnerToIPCSecurityDescriptor(service.Path)
+ if err != nil {
+ serviceError = services.ErrorLoadConfiguration
+ return
+ }
logPrefix := fmt.Sprintf("[%s] ", conf.Name)
log.SetPrefix(logPrefix)