Add setting up systemd

This commit is contained in:
Artur Gurgul1 2025-08-07 19:41:04 +02:00
parent bc0f9db31d
commit 688d23527f
3 changed files with 31 additions and 14 deletions

View file

@ -5,8 +5,8 @@ After=network.target
[Service]
Type=notify
User=postgres
Group=services
User=postgresql
Group=servicesql
ExecStart=<%= postgres_bin %> -D <%= database_dir %>/data
ExecReload=/bin/kill -HUP $MAINPID