In /usr/local/etc/rc.d/postgresql, adding a line:
would allow scripts, like from databases/pgpool-II-40, to use the service(8) command to promote a replica rather than calling pg_ctl(1) directly and having to know the values of variables postgresql_data, etc.
The rc script already supports most of the other commonly used pg_ctl(1) commands.
Good idea! Thanks, I will look into it!