I thought I will make smaller changes required by the efficiency mode settings, but ended up rewriting many parts of the application, including the monitoring engine 😅.
Changes
- a new parameter to control efficiency mode: --efficiency-mode (#80)
- a new parameter to run processes in isolated jobs: --isolate
- a new parameter to reset job limits: --unset-limits (#75) (only named jobs)
- a new parameter to limit the maximum number of processes in a job: --max-process-count
- empty environment variable will remove the variable from the process environment
- better handling of process hierarchies in the procgov service
- new tests + started moving old tests to the new tunit-based project
- ⚠️ breaking: --nomonitor parameter removed
- ⚠️ breaking: updating jobs is possible only when using procgov with the --job-name parameter, otherwise jobs are anonymous (as stated in the Raymond Chen's post, using anonymous jobs is safer and recommended)
- ⚠️ breaking: when updating process limits, they are no longer merged, but new limits will override the old ones
- ⚠️ breaking: when updating process limits, they are no longer merged, but new limits will override the old ones
File hashes
procgov.exe
MD5 = 4FB9235AE3F938DE0F47E7BE65527853
SHA1 = 04AD43D84ABFE404E8F5C4DEAE21CA2A88F7D7C1
SHA256 = 739ECCF1A2E6834AD756D0C3D31B8EE0FD0ED0BEFF8F01077AF3DEA8E006381A