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

Create and/or nominate an official solution for a Windows tray supervisor process #14

Open
ProZiro opened this issue Nov 24, 2016 · 8 comments

Comments

@ProZiro
Copy link

ProZiro commented Nov 24, 2016

Some kind of tray icon with at least a menu option for both "restarting" and "exiting" NCDNS would be awesome.

Keep up the good work.

@hlandau
Copy link
Contributor

hlandau commented Nov 25, 2016

On the whole, I think I'm against this, in all likelihood.

A better example to follow might be Apache's Win32 builds. They come with an Apache Monitor tray program, which controls the httpd. The httpd itself is a "console" application. ncdns is a daemon; service management (whether or not that "service" is managed by the WinNT "services" system or in any other way) is out of scope.

Any such program could also be generic and capable of managing arbitrary services, which seems better than duplicating the code in every daemon which wants to be trayable in Windows.

@hlandau hlandau closed this as completed Nov 25, 2016
@ProZiro
Copy link
Author

ProZiro commented Nov 25, 2016 via email

@JeremyRand
Copy link
Member

JeremyRand commented Nov 25, 2016 via email

@ProZiro
Copy link
Author

ProZiro commented Nov 25, 2016

Yeah, definitely not a high priority, but a feature request.

@hlandau
Copy link
Contributor

hlandau commented Nov 26, 2016

ApacheMonitor can't be used to monitor non-Apache processes. I wasn't advocating using ApacheMonitor to monitor ncdns, because that's impossible. I was saying that Win32 tray icon functionality should be in a separate process, not the daemon itself. The service implementation and service management should be in separate processes.

@JeremyRand I have no idea what JSON-RPC has to do with this.

@ProZiro
Copy link
Author

ProZiro commented Nov 26, 2016 via email

@hlandau
Copy link
Contributor

hlandau commented Nov 27, 2016

Alright. Finding either an existing program which can work as a tray-resident supervisor to be recommended to be bundled with ncdns, or writing a separate tray process either in Go or C to serve as a tray supervisor is a valid enhancement task. So I'll keep this open until an official solution for this niche is nominated.

@hlandau hlandau reopened this Nov 27, 2016
@hlandau hlandau changed the title tray icon Create and/or nominate an official solution for a Windows tray supervisor process Nov 27, 2016
@JeremyRand
Copy link
Member

JeremyRand commented Dec 4, 2016 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants