Skip to content

Add a systemd service definition for managing the coaching platform containers start/stop/restart #134

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jhodapp
Copy link
Member

@jhodapp jhodapp commented May 22, 2025

Description

This PR adds a systemd service definition for managing the coaching platform starting/stopping/restarting backend and frontend containers.

Currently, it needs to be manually copied over and installed onto the production server. Once in place, it shouldn't need to be reinstalled unless we have a new version of refactor-platform.service.

GitHub Issue: Closes #133

Changes

  • Add a systemd service definition for managing the coaching platform containers starting/stopping/restarting
  • Remove outdated docs/runbooks/deploy.md runbook and replace with relevant instructions covering systemd service management

Testing Strategy

  1. Try starting the containers using systemctl as the deploy user, like so: systemctl start refactor-platform.service
  2. Try stopping the containers using systemctl as the deploy user, like so: systemctl stop refactor-platform.service
  3. Try restarting the containers using systemctl as the deploy user, like so: systemctl restart refactor-platform.service

Concerns

None

@jhodapp jhodapp added this to the 1.0-beta1 milestone May 22, 2025
@jhodapp jhodapp self-assigned this May 22, 2025
@jhodapp jhodapp added the enhancement Improves existing functionality or feature label May 22, 2025
@jhodapp jhodapp linked an issue May 22, 2025 that may be closed by this pull request
@jhodapp jhodapp added feature work Specifically implementing a new feature infrastructure DevOps related labels May 22, 2025
@jhodapp jhodapp requested review from lmcdonough and calebbourg May 22, 2025 17:08
@jhodapp
Copy link
Member Author

jhodapp commented May 24, 2025

I'm going to leave this unmerged until we get a chance to try this out on the production server. I don't anticipate needing to make any changes, but it's a non-zero chance and we might as well do that in this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improves existing functionality or feature feature work Specifically implementing a new feature infrastructure DevOps related
Projects
Status: Review
Development

Successfully merging this pull request may close these issues.

Add a systemd service definition
2 participants