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

Update Script Hoarder: .env location for hoarder-web.service #1325

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

Conversation

MahrWe
Copy link

@MahrWe MahrWe commented Jan 8, 2025

🛠️ Note:
We are meticulous about merging code into the main branch, so please understand that pull requests not meeting the project's standards may be rejected. It's never personal!
🎮 Note for game-related scripts: These have a lower likelihood of being merged.


✍️ Description

Updated the location of the .env file for hoarder-web.service to be more in line with the hoarder.app (code and documentation).

Background

I misstakenly used hoarder.apps own update script bash hoarder-linux.sh update which expects the .env to be in /etc .

As this results in a very fatal removal of the env-file, I prefer to align these two scripts.

Additional learning: use the update path provided with/ related to the install path.

TODO

migrate existing installations to the new path


Please remove unneeded lines!

  • Related Issue: # (issue number, if applicable)
  • Related PR: # (if applicable)
  • Related Discussion: (if applicable)

🛠️ Type of Change

Please check the relevant options:

  • Bug fix (non-breaking change that resolves an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change unexpectedly)
  • New script (a fully functional and thoroughly tested script or set of scripts)

✅ Prerequisites

The following steps must be completed for the pull request to be considered:

  • Self-review performed (I have reviewed my code to ensure it follows established patterns and conventions.)
  • Testing performed (I have thoroughly tested my changes and verified expected functionality.)
  • Documentation updated (I have updated any relevant documentation)

📋 Additional Information (optional)

Provide any extra context or screenshots about the feature or fix here.
Hoarder.app documentation relevant to this: https://docs.hoarder.app/Installation/debuntu

@MahrWe MahrWe requested a review from a team as a code owner January 8, 2025 13:42
@github-actions github-actions bot added the update script A change that updates a script label Jan 8, 2025
@michelroegl-brunner michelroegl-brunner changed the title Update .env location for hoarder-web.service Update Script Hoarder: .env location for hoarder-web.service Jan 8, 2025
@MickLesk
Copy link
Member

MickLesk commented Jan 8, 2025

@MohamedBassem is this correct ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
update script A change that updates a script
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants