Git Product home page Git Product logo

Comments (10)

mholt avatar mholt commented on June 12, 2024 1

FWIW, I'd be interested in collaborating on an official (i.e. in the caddyserver organization) module for process supervision in Caddy 2. A lot of new and interesting possibilities here.

from caddy-supervisor.

DanyHenriquez avatar DanyHenriquez commented on June 12, 2024 1

@mholt I have read the documentation and think i can do this. I would make a PR this weekend with a simple implementation to monitor a process

from caddy-supervisor.

lucaslorentz avatar lucaslorentz commented on June 12, 2024

@mholt
That's very nice.
I can update the readme page with links to the new module, let me know when you have a repo for it.

from caddy-supervisor.

Baldinof avatar Baldinof commented on June 12, 2024

Hi!

Is there any plans on this?

I really enjoyed this plugin on caddy v1 :)

@lucaslorentz if you don't have time / plan for it I think I could find some time to work on this.

@mholt are you still OK to make this an official module?

from caddy-supervisor.

lucaslorentz avatar lucaslorentz commented on June 12, 2024

@Baldinof
I wasn't planning to work on it anytime soon.
But I can help you if you need any assistance.

from caddy-supervisor.

mholt avatar mholt commented on June 12, 2024

are you still OK to make this an official module?

Yeah, we can depending on its popularity/usefulness -- I don't have much spare bandwidth to collaborate right now though. (My earlier comment was from well over a year ago!) The only difference is where the code lives, any repo will do - there's no technical difference.

Would be cool to see one!

from caddy-supervisor.

Baldinof avatar Baldinof commented on June 12, 2024

Hi!

I totally forgot to respond here, I was planning to make a PR too but I don't know when I will find the time to finish it.

For the logging part, I think the processes outputs could be written in a specific log field. This way it could be sent to stdout / stderr via something like this:

log {
  format single_field "supervisor_stdout"
}

from caddy-supervisor.

mholt avatar mholt commented on June 12, 2024

(FWIW I intend to deprecate the single_field log encoder sooner or later.)

from caddy-supervisor.

DanyHenriquez avatar DanyHenriquez commented on June 12, 2024

So i see we want to use supervisor lib for this. Is there any library which has already been decided on?

from caddy-supervisor.

mholt avatar mholt commented on June 12, 2024

Remind me to upload some pictures I took of the Windows Task Scheduler this last week. (I'm waiting for GitHub to fix EXIF stripping before I post them here.) I think it has a lot of useful customization options that could be good inspiration for this kind of module.

from caddy-supervisor.

Related Issues (6)

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.