Commit graph

14 commits

Author SHA1 Message Date
3078d125e8 Use signal.pause() instead of while True to keep Linspector running. A while True loop starts using 100% of one CPU when there is no sleep() inserted. That's not a good way to keep a program running. (0.20.3) 2023-02-22 17:14:02 +01:00
d7192913e0 Tons of fixes, improvements and ideas... 2023-02-03 04:17:40 +01:00
e5cc2a4596 Made the logger an object to be multiprocessing compatible.
The initialization of the Configuration() object can not log anymore since the Log() object initialization requires the Configuration(). Maybe I will find a better solution in the future. For now, it fixes bugs and makes my life easier.
2022-10-11 02:57:13 +02:00
220079e64b Some more logging fixes in linspectord.py. 2022-10-06 05:38:34 +02:00
8808b657c4 Basic scheduling works now but execution of services is not available. Lot of stuff done... 2022-09-30 02:14:36 +02:00
dbb0e23091 Added file logging and a new parameter (-s) for logging to stdout. 2022-09-29 02:59:40 +02:00
b104698a90 Simplified the daemon code and added stop and restart parameters to the linpector program. 2022-09-28 23:29:51 +02:00
0e8118a2c0 linspectord is now the daemon, not subclassed like before... makes sense because I never need an abstract layer here. 2022-09-28 08:50:10 +02:00
e4ffdedb56 Refactoring, fixes and really a lot of new ideas... 2022-09-28 08:27:51 +02:00
23f52504e2 bin/linspector fix and added run() method to linspectord.py. 2022-09-28 04:26:12 +02:00
3de67966f4 Lot of new ideas defined in configuration files and tons of refactoring. 2022-09-28 02:04:50 +02:00
a0892d0980 Added dynamic loading of notifications and services, refactoring and lot of fixes. 2022-09-27 06:07:55 +02:00
2384c789a7 Enabled loading of monitors in etc/, some refactoring and fixes. 2022-09-27 02:28:09 +02:00
0c64555155 Initial commit after complete rewrite of Linspector. 2022-09-25 00:39:51 +02:00