Create dir first

This commit is contained in:
Michael Huebner 2025-06-16 15:17:01 +02:00
parent 225fb54687
commit 08cee5cdba

View file

@ -37,7 +37,7 @@ in
]; ];
serviceConfig = { serviceConfig = {
Type = "simple"; Type = "simple";
ExecStart = "${pkgs.coreutils}/bin/cp ${./home.tmpl} /var/lib/forgejo/custom/templates/home.tmpl"; ExecStart = "mkdir -p /var/lib/forgejo/custom/templates/ && ${pkgs.coreutils}/bin/cp ${./home.tmpl} /var/lib/forgejo/custom/templates/home.tmpl";
}; };
}; };
}; };