Skip to content

maintenance_mode: stop services #960

@dacook

Description

@dacook

When working on server migrations, I thought that the maintenance_mode.yml playbook should stop/start the relevant services. (Stop when maintenance mode is enabled; start when maintenance mode is disabled)

I think the playbook should stop/start sidekiq. Probably also puma and redis (stopping redis will save dump.rdb for each instance which is helpful for migrations)

This will speed up migrations and remove a step from the server-migration guide:

- [ ] `sudo systemctl stop sidekiq redis-jobs puma`

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Dev ready 👋

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions