Jfc, that was annoying thought typo, changed the systemd user to root for postgres backup.
This commit is contained in:
parent
c2e5f113b4
commit
54a3be635b
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ in {
|
||||||
description = "Backup PostgresSQL databases to GCS";
|
description = "Backup PostgresSQL databases to GCS";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
User = "postgres";
|
User = "root";
|
||||||
ExecStart = "${postgresBackupScript}";
|
ExecStart = "${postgresBackupScript}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue