add support for multi postgrest instances

fro/pi3#59
This commit is contained in:
fro
2025-12-29 15:15:35 -05:00
parent 93b48d8b98
commit 84236528c4
4 changed files with 31 additions and 7 deletions

View File

@@ -0,0 +1,12 @@
[Unit]
Description=PostgREST FWD
After=network.target
[Service]
User=postgrest
Group=postgrest
ExecStart=/usr/local/bin/postgrest /etc/postgrest/config_fwd
ExecReload=/bin/kill -SIGUSR1 $MAINPID
[Install]
WantedBy=multi-user.target