mirror of
https://forgejo.ellis.link/continuwuation/continuwuity/
synced 2026-03-29 07:20:34 +00:00
docs: Mention systemd's ReadWritePaths setting for the backup dir
The systemd unit file uses `ProtectSystem=strict`, which makes almost every directory read-only. This can cause backups to not work, even if the directory is granted the correct permissions and ownership to the `conduwuit` user. The `ReadWritePaths` setting lets you specify which directories are exempt from being made read-only by `ProtectSystem=strict`.
This commit is contained in:
@@ -95,6 +95,10 @@
|
|||||||
# engine API. To use this, set a database backup path that continuwuity
|
# engine API. To use this, set a database backup path that continuwuity
|
||||||
# can write to.
|
# can write to.
|
||||||
#
|
#
|
||||||
|
# If you are using systemd, you will need to add the path to
|
||||||
|
# ReadWritePaths in the service file, preferably via a drop-in file
|
||||||
|
# through `systemctl edit`.
|
||||||
|
#
|
||||||
# For more information, see:
|
# For more information, see:
|
||||||
# https://continuwuity.org/maintenance.html#backups
|
# https://continuwuity.org/maintenance.html#backups
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -145,6 +145,10 @@ pub struct Config {
|
|||||||
/// engine API. To use this, set a database backup path that continuwuity
|
/// engine API. To use this, set a database backup path that continuwuity
|
||||||
/// can write to.
|
/// can write to.
|
||||||
///
|
///
|
||||||
|
/// If you are using systemd, you will need to add the path to
|
||||||
|
/// ReadWritePaths in the service file, preferably via a drop-in file
|
||||||
|
/// through `systemctl edit`.
|
||||||
|
///
|
||||||
/// For more information, see:
|
/// For more information, see:
|
||||||
/// https://continuwuity.org/maintenance.html#backups
|
/// https://continuwuity.org/maintenance.html#backups
|
||||||
///
|
///
|
||||||
|
|||||||
Reference in New Issue
Block a user