-
Notifications
You must be signed in to change notification settings - Fork 550
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
[Jobs] Refactor dashboard controller launching with systemd #4538
Conversation
…ilot-dashboard. Added user-specific environment variables and log redirection. Updated service management commands to operate in user mode.
…ilability before executing service management commands. If systemd is not found, implement a manual setup for the SkyPilot dashboard, including process termination and background launch. This improves robustness and user experience during setup.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the change, @KeplerC! I like the approach. Left a few comments to address.
Accidentally hit approve but I'll re-review after the changes.
Co-authored-by: Christopher Cooper <[email protected]>
…nd update systemd service configuration. Added Flask as a dependency in controller_utils.py for the dashboard. Changed service target from multi-user to default for improved service management.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome, thanks!
closes #4299 by systemd
Tested (run the relevant ones):
bash format.sh