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
This evaluates to: ./MyService.exe description:MyServiceBeta display-name:MyServiceBeta name:MyServiceBeta action:install
Yet the service is installed with the values I set in Program.Main() using the ServiceRunner<Service>(config => {}) apis (Name = "MY_SERVICE", Description = "My Service", Display Name = "My Service")
Which one should win? Can the command line not overwrite the values in the ServiceRunner?
The text was updated successfully, but these errors were encountered:
Yeah it seems the service runner overrides the cmd params. Logically it should be the other way around. I'
ll fix this when we accumulate a few issues.
Can you provide documentation for the proper usage of multiple command line arguments together?
We have an Octopus Deploy step to update our Windows Service, and are running this in our script:
./MyService.exe description:MyService$OctopusParameters["Octopus.Environment.Name"] display-name:MyService$OctopusParameters["Octopus.Environment.Name"] name:MyService$OctopusParameters["Octopus.Environment.Name"] action:install
This evaluates to:
./MyService.exe description:MyServiceBeta display-name:MyServiceBeta name:MyServiceBeta action:install
Yet the service is installed with the values I set in
Program.Main()
using theServiceRunner<Service>(config => {})
apis (Name = "MY_SERVICE", Description = "My Service", Display Name = "My Service")Which one should win? Can the command line not overwrite the values in the ServiceRunner?
The text was updated successfully, but these errors were encountered: