Files
openwrt-packages/libs/postgresql
Peiying Huang 74172f6c54 postgresql: fix fails to start on mounted data directories
This commit resolves a bug where the PostgreSQL service failed to start
during the boot process when its data directory ($pgdata) was on a
partition mounted via `/etc/fstab`.
Because the filesystem is already mounted, no hotplug event is ever
triggered, and the PostgreSQL service mistakenly waits for an event
that will never happen.
This fix adds a check to ensure the script does not skip starting the
service if the data directory is on a mount point.

Signed-off-by: Peiying Huang <eiying0517@gmail.com>
2025-10-25 08:37:54 +03:00
..