Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Jobs] Refactor dashboard controller launching with systemd (#4538)
* convert to systemd * Refactor jobs-controller.yaml.j2 to use systemd user service for skypilot-dashboard. Added user-specific environment variables and log redirection. Updated service management commands to operate in user mode. * Enhance jobs-controller.yaml.j2 to check for systemd user service availability 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. * streamline sky/templates/jobs-controller.yaml.j2 Co-authored-by: Christopher Cooper <[email protected]> * Refactor jobs-controller.yaml.j2 to remove Flask installation check and 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. --------- Co-authored-by: Christopher Cooper <[email protected]>
- Loading branch information