docs: Mention systemd's ReadWritePaths setting for the backup dir #1447
No reviewers
Labels
No labels
Blocked
Bug
Changelog
Added
Changelog
Missing
Changelog
None
Cherry-picking
Database
Dependencies
Dependencies/Renovate
Difficulty
Easy
Difficulty
Hard
Difficulty
Medium
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/E2EE
Matrix/Federation
Matrix/Hydra
Matrix/MSC
Matrix/Media
Matrix/T&S
Merge
Merge/Manual
Merge/Squash
Meta
Meta/CI
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Support
Wont fix
old/ci/cd
old/rust
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
continuwuation/continuwuity!1447
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "norm/continuwuity:docs-backup-read-write-paths"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The systemd unit file uses
ProtectSystem=strict, which makes almostevery directory read-only. This can cause backups to not work, even if
the directory is granted the correct permissions and ownership to the
conduwuituser.The
ReadWritePathssetting lets you specify which directories areexempt from being made read-only by
ProtectSystem=strict.This pull request...
Pull request checklist:
mainbranch, and the branch is named something other thanmain.myself, if applicable. This includes ensuring code compiles.
the
conduwuit-example.tomlfile is auto generated on build, so this will get overwritten whenever someone next compiles. Instead what you need to do is editsrc/core/config/mod.rsand append this to the docstring fordatabase_backup_path, and then runcargo buildto re-generate the example config file.607c6527974a0bbaa594Ok, I've edited
src/core/config/mod.rsand rancargo buildto regenerate the example config.