You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+41Lines changed: 41 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -145,6 +145,47 @@ Apart from adding the dependencies of the package and the dll the following acti
145
145
146
146
To see how we perform all of this "magic" checkout the [install.ps1](https://github.com/MRCollective/AzureWebFarm.OctopusDeploy/blob/master/AzureWebFarm.OctopusDeploy/Tools/install.ps1) file.
147
147
148
+
What if I want to deploy Windows Services?
149
+
------------------------------------------
150
+
You can deploy and host a non IIS based Windows Service in an Azure role using almost exactly the same approach as above for a standard web role with a few small modifications.
151
+
* To your service project
152
+
* Ensure that your service startup type is set to "Manual" and not "Automatic". Otherwise your service will start before Octopus and Azure can work their magic.
153
+
154
+
* To your cloud project
155
+
* Open WebRole.cs and in the OnStop() method before anything else is called add some logic to ensure the service is stopped.
0 commit comments