Skip to content
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

Run nats-account-server as Windows Service #48

Closed
LaurensVergote opened this issue Jan 21, 2020 · 1 comment
Closed

Run nats-account-server as Windows Service #48

LaurensVergote opened this issue Jan 21, 2020 · 1 comment

Comments

@LaurensVergote
Copy link

nats-account-server can currently not be run as a Windows Service. Starting a nats-account-server as Windows Service currently gives the following error:
Windows could not start the MyNAS service on Local Computer.
Error 1053: The service did not respond to the start or control request in a timely fashion.

We believe this to be because "ServiceMain" is not implemented in this project.
There are workarounds for this like nssm but it would be prefered this is not needed. nats-server can currently already run as a windows service and it would be nice if nats-account-server could as well.

@aricart
Copy link
Member

aricart commented Jan 21, 2020

Just verified, and indeed we are not implementing service for windows.

aricart added a commit that referenced this issue Jan 23, 2020
aricart added a commit that referenced this issue Jan 23, 2020
…with `sc` as a windows service (logging to syslog)

Reworked the logger to reference the nats-server logger types rather than duplicate them.
aricart added a commit that referenced this issue Jan 24, 2020
FIX #48 - Added support for running nats-account-server as windows service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants