-
Notifications
You must be signed in to change notification settings - Fork 969
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows service #50
Comments
This may just make your day..... :) check out #3, which already works fine on Windows. It not only allows nebula to run as one, but also lets nebula register itself as a service via the command line, so you don't need a wrapper like the one from cygwin. |
If anyone needs a precompiled binary for this, I'm happy to post one somewhere... If not, you just change branch and run With the binary, you run |
Yes, it does, thanks! |
OK, it seems to work. However, simply doing "nebula -service install" [in the config directory] doesn't work. Combining "nebula -config c:\nebula -service install" then "nebula -service start" works. |
i use winsw to run nebula as a windows service. |
merged in #3 |
When installing the service, it seems the absolute path to config.yml is required.
|
The absolute path to the certificate-files is needed, too (inside the config.yml). |
This is great - thanks!
My application is a blend of cloud (linux) and multi-site on-prem (mostly windows but also linux) machines. I found that I could get this installed as a service on Windows 7 and Windows 10 using cygwin's cygrunsrv, but was unable to using the built-in sc from Microsoft (see https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/sc-create and https://support.microsoft.com/en-us/help/251192/how-to-create-a-windows-service-by-using-sc-exe).
I suspect this is because the code doesn't use golang.org/x/sys/windows/svc to implement the Windows service hooks.
If you have got this to run as a service on Windows workstations, could please you include tips?
Thanks!
The text was updated successfully, but these errors were encountered: