Comments (7)
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.
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.
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.
from tracer.
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.
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.
@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)
- Call to Tracer API ended unexpectedly HOT 1
- AttributeError: module 'platform' has no attribute 'linux_distribution' on Python 3.9 HOT 5
- The imp module is deprecated in favor of importlib. HOT 3
- Minor spelling error in the Tracer API documentation HOT 1
- python3-setuptools HOT 4
- It does nothing on Oracle Linux 7 and 8 HOT 3
- Automatically recognize available package managers HOT 3
- Call to Tracer API ended unexpectedly HOT 1
- Python exception: AttributeError: 'str' object has no attribute 'name'
- Tracer is restarting auditd with the wrong command HOT 2
- RFE: Write /var/run/reboot-required if reboot is needed HOT 2
- Tracer has apparently stopped recognising updated packages in Fedora 38 HOT 3
- Traceback with dnf4: `module 'rpm' has no attribute 'fi'` HOT 5
- tracer does not appear to work when `dnf5` is installed HOT 1
- False-positive on crond
- Racy tracer warning after a package upgrade HOT 1
- Katello Tracer returns empty values. Oracle linux 8. HOT 1
- no notification to restart service after os update
- False call for need to restart NetworkManager on RHEL8
- Tracer doesn't understand that services are restarted HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tracer.