diff --git a/service.go b/service.go index d0bb7f67..792e1dd9 100644 --- a/service.go +++ b/service.go @@ -127,11 +127,6 @@ func configureService(c *service.Config) { // POSIX // Redirect StdErr & StdOut to files. c.Option["LogOutput"] = true - - // Windows - if runtime.GOOS == "windows" { - c.UserName = "NT AUTHORITY\\NetworkService" - } } // cleanupService called on the service uninstall, cleans up additional files if needed