hosts/plover: update Gitea tmpfiles configuration

This commit is contained in:
Gabriel Arazas 2023-07-27 13:36:19 +08:00
parent 187b32e7bb
commit 0ae9b2033e
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -206,12 +206,12 @@ in
systemd.tmpfiles.rules =
let
# To be used similarly to $GITEA_CUSTOM variable.
giteaCustomDir = "${config.services.gitea.stateDir}/custom";
giteaCustomDir = config.services.gitea.customDir;
in
[
"L+ ${giteaCustomDir}/templates/home.tmpl - - - - ${../../files/gitea/home.tmpl}"
"L+ ${giteaCustomDir}/public/img/logo.svg - - - - ${../../files/gitea/logo.svg}"
"L+ ${giteaCustomDir}/public/img/logo.png - - - - ${../../files/gitea/logo.png}"
"L+ ${giteaCustomDir}/templates/home.tmpl 0750 gitea gitea - ${../../files/gitea/home.tmpl}"
"L+ ${giteaCustomDir}/public/img/logo.svg 0750 gitea gitea - ${../../files/gitea/logo.svg}"
"L+ ${giteaCustomDir}/public/img/logo.png 0750 gitea gitea - ${../../files/gitea/logo.png}"
];
# Add the following files to be backed up.