fix perms error
This commit is contained in:
parent
9dbaf61484
commit
19c95a7d70
1 changed files with 7 additions and 6 deletions
|
|
@ -3,6 +3,10 @@
|
|||
sandbox = "docs-sandbox.${homelab.domain}";
|
||||
data-dir = "/mnt/data/apps/cryptpad";
|
||||
in {
|
||||
systemd.tmpfiles.rules = [
|
||||
"d ${data-dir} 0750 cryptpad cryptpad -"
|
||||
];
|
||||
|
||||
services.cryptpad = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
@ -23,8 +27,5 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
systemd.services.cryptpad.serviceConfig = {
|
||||
ReadWritePaths = [ data-dir ];
|
||||
ProtectMountPoints = false;
|
||||
};
|
||||
systemd.services.cryptpad.serviceConfig.ReadWritePaths = [ data-dir ];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue