openwrt-packages/libs/postgresql/files
Daniel Golle f518cfb250
postgresql: improve init script
Use newly introduced procd_add_restart_mount_trigger to make sure
postmaster gets started only once PGDATA becomes available.
Relocate socket directory to /var/lib/postgresql to make it possible
to run postgresql inside a ujail.
Use signal for shutdown, so it works nicely with jail.
Allow multiple script in UCI 'config postgres-db' to be a list and
run them in order listed.
User more silent methods to check for db or role existence and make
it easy to create several databases owned by the same user by passing
the same credentials multiple times.
Remove disfunctional reload handler.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-08-12 03:11:09 +01:00
..
postgresql.config postgresql: update to version 9.5.4 and major rework 2016-09-23 20:03:05 +02:00
postgresql.init postgresql: improve init script 2021-08-12 03:11:09 +01:00
postgresql.sh postgresql: improve init script 2021-08-12 03:11:09 +01:00