Code Monkey home page Code Monkey logo

Comments (8)

hlandau avatar hlandau commented on May 19, 2024

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.

from ncdns.

ProZiro avatar ProZiro commented on May 19, 2024

from ncdns.

JeremyRand avatar JeremyRand commented on May 19, 2024

from ncdns.

ProZiro avatar ProZiro commented on May 19, 2024

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

from ncdns.

hlandau avatar hlandau commented on May 19, 2024

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.

from ncdns.

ProZiro avatar ProZiro commented on May 19, 2024

from ncdns.

hlandau avatar hlandau commented on May 19, 2024

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.

from ncdns.

JeremyRand avatar JeremyRand commented on May 19, 2024

from ncdns.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.