Skip to content
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

Do not lose logs on redeploy #182

Merged
merged 1 commit into from
Mar 2, 2022
Merged

Do not lose logs on redeploy #182

merged 1 commit into from
Mar 2, 2022

Conversation

bess
Copy link
Contributor

@bess bess commented Mar 2, 2022

This PR turns logs, public/system, and public/assets into symlinks from the shared directory, so they are not lost when a new version of the software is deployed.

pulsys@pdc-discovery-staging1:/opt/pdc_discovery/current$ ls -la l*
lrwxrwxrwx 1 deploy deploy   29 Mar  2 16:21 log -> /opt/pdc_discovery/shared/log

@hectorcorrea hectorcorrea merged commit 0d618e8 into main Mar 2, 2022
@hectorcorrea hectorcorrea deleted the shared_logs branch March 2, 2022 16:37
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.

2 participants