Bug 1459203 Comment 4 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

The install happens [here](https://github.com/taskcluster/generic-worker/blob/v14.1.0/plat_windows.go#L471-L488).

It calls [deployService](https://github.com/taskcluster/generic-worker/blob/v14.1.0/plat_windows.go#L543-L585) which installs the executable using nssm.

Note, it relies on the nssm executable being on the local filesystem, and uses it to execute the nssm commands to create the windows service.

In order not to use nssm, we should use the native packages of the go standard library for creating a Windows service.

The standard library also comes with an [example implementation](https://godoc.org/golang.org/x/sys/windows/svc/example).

Any questions, let me know!
The install happens [here](https://github.com/taskcluster/generic-worker/blob/v14.1.0/plat_windows.go#L471-L488).

It calls [deployService](https://github.com/taskcluster/generic-worker/blob/v14.1.0/plat_windows.go#L543-L585) which installs the executable using nssm.

The nssm configuration settings used here are described on the [nssm website](https://nssm.cc/commands).

Note, it relies on the nssm executable being on the local filesystem, and uses it to execute the nssm commands to create the windows service.

In order not to use nssm, we should use the native packages of the go standard library for creating a Windows service.

The standard library also comes with an [example implementation](https://godoc.org/golang.org/x/sys/windows/svc/example).

Any questions, let me know!
The install happens [here](https://github.com/taskcluster/generic-worker/blob/v14.1.0/plat_windows.go#L471-L488).

It calls [deployService](https://github.com/taskcluster/generic-worker/blob/v14.1.0/plat_windows.go#L543-L585) which installs the executable using nssm.

The nssm configuration settings used here are described on the [nssm website](https://nssm.cc/usage).

Note, it relies on the nssm executable being on the local filesystem, and uses it to execute the nssm commands to create the windows service.

In order not to use nssm, we should use the native packages of the go standard library for creating a Windows service.

The standard library also comes with an [example implementation](https://godoc.org/golang.org/x/sys/windows/svc/example).

Any questions, let me know!

Back to Bug 1459203 Comment 4