mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 11:05:37 +00:00
gitea litestream permissions fixes
This commit is contained in:
parent
982566a92e
commit
d97e3fda07
@ -60,6 +60,10 @@ in {
|
||||
# Open to groups, allowing for backups
|
||||
systemd.services.gitea.serviceConfig.StateDirectoryMode =
|
||||
lib.mkForce "0770";
|
||||
systemd.tmpfiles.rules = [
|
||||
"d ${giteaPath}/data 0775 gitea gitea"
|
||||
"f ${giteaPath}/data/gitea.db 0660 gitea gitea"
|
||||
];
|
||||
|
||||
# Allow litestream and gitea to share a sqlite database
|
||||
users.users.litestream.extraGroups = [ "gitea" ];
|
||||
|
Loading…
Reference in New Issue
Block a user