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