Created
May 31, 2016 13:05
-
-
Save fdstevex/52da0d7e5892fe2965eae105b8cf3883 to your computer and use it in GitHub Desktop.
Revisions
-
fdstevex created this gist
May 31, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ 1. Download the Windows Service Wrapper binary from this project: https://github.com/kohsuke/winsw 2. Copy to your Buildkite directory and rename to "buildkite-service.exe" 3. Create buildkite-service.xml: <service> <id>buildkite-service</id> <name>buildkite-service</name> <description>The BuildKite build agent.</description> <executable>buildkite-agent</executable> <arguments>start</arguments> <logmode>rotate</logmode> </service> 4. Invoke "buildkite-service install" to register the service. (This may show a dialog indicating that you need to install the .NET Framework 3.5 - you can do this in the Control Panel, search for Turn Windows Features On and Off and install it through the wizard). 5. Use the Services control panel to change the user that buildkite-service runs as, to an appropriate user. 6. "net start buildkite-agent"