-
Notifications
You must be signed in to change notification settings - Fork 364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce supervisor.procHandle interface #5137
Commits on Oct 22, 2024
-
Refactor command line parsing into its own func
Signed-off-by: Tom Wieczorek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4d3dfdf - Browse repository at this point
Copy the full SHA 4d3dfdfView commit details -
Refactor process environment parsing into its own func
Signed-off-by: Tom Wieczorek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 36c37d7 - Browse repository at this point
Copy the full SHA 36c37d7View commit details -
Add the cmdline and environ functions to it. Signed-off-by: Tom Wieczorek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 19a22f4 - Browse repository at this point
Copy the full SHA 19a22f4View commit details -
Add termination methods to unixPID
This encapsulates the kill syscall. Signed-off-by: Tom Wieczorek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 22f2170 - Browse repository at this point
Copy the full SHA 22f2170View commit details
Commits on Oct 23, 2024
-
Introduce procHandle interface
This encapsulates all of the OS-specific code for interacting with processes identified by PID files. Signed-off-by: Tom Wieczorek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a71d6ae - Browse repository at this point
Copy the full SHA a71d6aeView commit details -
This will be the new factory function for OS-specific process interaction. Signed-off-by: Tom Wieczorek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5abf54d - Browse repository at this point
Copy the full SHA 5abf54dView commit details -
Relocate OS-agnostic Supervisor methods
Move the now OS-agnostic Supervisor methods maybeKillPidFile, shouldKillProcess and killPid from the UNIX-specific file into the general one. Signed-off-by: Tom Wieczorek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for de6909c - Browse repository at this point
Copy the full SHA de6909cView commit details -
Rename OS-specific files from Supervisor to procHandle
The supervisor code is now completely OS independent. It uses the procHandle interface to abstract away any OS specifics. Rename the old OS-specific supervisor files to prochandle, since that's what they contain now. Signed-off-by: Tom Wieczorek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ceaa0f9 - Browse repository at this point
Copy the full SHA ceaa0f9View commit details