Fix /var/lib/domains ownership and WordPress ADMIN_EMAIL generation

Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/755b414e-9b63-448b-a57c-41d0ca45b5eb

Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-04-08 16:09:10 +00:00
committed by GitHub
parent 3673ccf39b
commit fb4c268b8e
4 changed files with 36 additions and 4 deletions

View File

@@ -11,6 +11,10 @@ in
group = "root";
};
systemd.tmpfiles.rules = [
"d /var/lib/domains 0755 caddy root -"
];
# Override ExecStart + ExecReload to point at the runtime-generated Caddyfile
systemd.services.caddy.serviceConfig = {
ExecStart = lib.mkForce [