Skip to content

Commit 2ee2e00

Browse files
committed
also remove the user
1 parent 089fc1c commit 2ee2e00

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

service_windows.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,10 @@ func (thisRef *windowsService) Install() error {
153153
thisRef.serviceSpec.Name,
154154
thisRef.serviceSpec.Executable,
155155
svcMgr.Config{
156-
DisplayName: thisRef.serviceSpec.Name,
157-
Description: thisRef.serviceSpec.Description,
158-
StartType: startType,
159-
ServiceStartName: thisRef.serviceSpec.Credentials.User,
156+
DisplayName: thisRef.serviceSpec.Name,
157+
Description: thisRef.serviceSpec.Description,
158+
StartType: startType,
159+
// ServiceStartName: thisRef.serviceSpec.Credentials.User, // FIXME:
160160
// Dependencies: dependencies,
161161
},
162162
thisRef.serviceSpec.Args...,

0 commit comments

Comments
 (0)