outline: Add localRootDir to ReadWritePaths (#298892)

The service can't write to the localRootDir if its set outside of its
state directory, thus we have to manually mark it as writable.
This commit is contained in:
Luka T. Korošec 2024-04-01 18:48:07 +02:00 committed by GitHub
parent 641d9a463b
commit 126759eb58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -783,6 +783,8 @@ in
# This working directory is required to find stuff like the set of
# onboarding files:
WorkingDirectory = "${cfg.package}/share/outline";
# In case this directory is not in /var/lib/outline, it needs to be made writable explicitly
ReadWritePaths = [ cfg.storage.localRootDir ];
};
};
};