Skip to content

Update systemd files for multi-environment support#15

Open
louisabraham wants to merge 2 commits into
piku:mainfrom
louisabraham:fix-multi-user-support
Open

Update systemd files for multi-environment support#15
louisabraham wants to merge 2 commits into
piku:mainfrom
louisabraham:fix-multi-user-support

Conversation

@louisabraham

Copy link
Copy Markdown

Summary

Update playbook to use the new systemd template unit files that support multiple piku environments on the same server.

Changes:

  • uwsgi-piku.serviceuwsgi-piku@.service
  • piku-nginx.pathpiku-nginx@.path
  • Enable services with user instance: uwsgi-piku@{{ user }}

Dependencies

This PR depends on piku/piku#419 being merged first (the main piku repo changes that rename the systemd files).

Use template unit files with instance names to support multiple
piku environments (e.g., piku-prod, piku-staging) on the same server.

Changes:
- uwsgi-piku.service → uwsgi-piku@.service
- piku-nginx.path → piku-nginx@.path
- Enable services with user instance: uwsgi-piku@{{ user }}

Companion change to piku/piku#419
@louisabraham

Copy link
Copy Markdown
Author

Not sure what are the other repos I should change, eg https://github.com/piku/ansible-setup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant