fix(attic): remove unused $PSQL alias in postStart script
- Replace `$PSQL` with `psql` to use the correct PostgreSQL CLI directly. - Ensures compatibility and prevents potential runtime issues in the systemd service.
This commit is contained in:
parent
2ca35ba38d
commit
e12fc523d6
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@
|
|||
};
|
||||
|
||||
systemd.services.postgresql.postStart = lib.mkAfter ''
|
||||
$PSQL -tAc 'ALTER DATABASE "attic" OWNER TO "atticd"'
|
||||
psql -tAc 'ALTER DATABASE "attic" OWNER TO "atticd"'
|
||||
'';
|
||||
|
||||
environment.systemPackages = with pkgs; [ attic-client ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue