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

Add checks for if a file already exists before copying/creating in configure.py #964

Open
SteveMicroNova opened this issue Oct 3, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers tech-debt Pays down tech debt user-experience Something that speaks to the interface or interaction with the user

Comments

@SteveMicroNova
Copy link
Contributor

I've been doing stuff like this:

r'[ ! -d /var/log/journal ] && echo -e "[Journal]\nStorage=volatile\nRuntimeMaxUse=64M\nForwardToConsole=no\nForwardToWall=no\n" | sudo tee /etc/systemd/journald.conf',

In configure.py inside of my #828 branch, this checks if a file already exists and if not it can be created with default settings. This is useful for preserving user settings between updates and deploys, do this type of thing in all relevant places in configure.py to ensure that our systems support true user customization that isn't wiped out between updates.

@SteveMicroNova SteveMicroNova added enhancement New feature or request good first issue Good for newcomers user-experience Something that speaks to the interface or interaction with the user tech-debt Pays down tech debt labels Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers tech-debt Pays down tech debt user-experience Something that speaks to the interface or interaction with the user
Projects
None yet
Development

No branches or pull requests

1 participant