postgres/rootfs/bin/restart-services

4 lines
77 B
Plaintext

#!/usr/bin/with-contenv sh
kill -s TERM $(head -1 ${PGDATA}/postmaster.pid)