Make pgmaster.sh set max_replication_slots in PostgreSQL 9.4 or later.