postgres/rootfs/bin/restart-services

4 lines
77 B
Plaintext
Executable File

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