postgres/rootfs/bin/restart-services

3 lines
77 B
Text
Executable file

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