generate systemd for postgres

This commit is contained in:
Artur Gurgul1 2025-08-07 14:23:42 +02:00
parent ed7fc9aa7f
commit 29a9b08573
4 changed files with 63 additions and 24 deletions

View file

@ -8,7 +8,7 @@ Type=notify
User=postgres
Group=services
ExecStart=<%= prefix %>/bin/postgres -D <%= database_path %>/data
ExecStart=<%= postgres_bin %> -D <%= database_dir %>/data
ExecReload=/bin/kill -HUP $MAINPID
KillMode=mixed
TimeoutSec=300