Giter Site home page Giter Site logo

Comments (7)

FrostyX avatar FrostyX commented on August 20, 2024

I personally haven't needed this, but I agree that it can be nice in some scenarios. Feel free to send PR if you want to code it by yourself :-). Or I will do it, but it can take some while.

from tracer.

tsujamin avatar tsujamin commented on August 20, 2024

I've started on an implementation (https://github.com/tsujamin/tracer) which adds a new Controller/View for restarting services and the commandline flags "--restart-daemons" and "--restart-services"

I've tried to mock up some unit tests for the controller, which appear to pass, but I haven't really been able to test it in practice as I don't have any daemons that need restarting ;) How should I go about testing this properly?

I'll probably look into integrating this with the dnf-plugin, but it appears that's in a separate project at the moment. If it were to go that far, being able to enable/disable the functionality and blacklist certain packages from automatic restarts would be something I'd look to implement (probably with ConfigParser or something similar), but I figured I'd run this past you before going any further :)

from tracer.

gsauthof avatar gsauthof commented on August 20, 2024

FWIW, while waiting on this feature I implemented an alternative stale-process-checker that supports automatic restarts via --restart: https://github.com/gsauthof/utility/#oldprocs

from tracer.

tsujamin avatar tsujamin commented on August 20, 2024

from tracer.

FrostyX avatar FrostyX commented on August 20, 2024

I've started on an implementation
(https://github.com/tsujamin/tracer) which adds a new
Controller/View for restarting services and the commandline flags
"--restart-daemons" and "--restart-services"

Ah, I am sorry, I somehow missed the comment. I guess it's not
relevant anymore.

FWIW, while waiting on this feature I implemented an alternative
stale-process-checker that supports automatic restarts via --restart:
https://github.com/gsauthof/utility/#oldprocs

Perhaps I should add a section with known alternatives to the README
section and mention your tool?

@tsujamin tsujamin closed this 4 days ago

Also, if you don't mind, I would keep this issue open. It's a valid
RFE.

from tracer.

gsauthof avatar gsauthof commented on August 20, 2024

Perhaps I should add a section with known alternatives to the README
section and mention your tool?

Sure, adding a section that puts a project into perspective like that usually is a good idea.

from tracer.

FrostyX avatar FrostyX commented on August 20, 2024

@gsauthof I added a Similar software section to the README in b390877, feel free to edit it or list other alternatives.

from tracer.

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.