Author: Christoph Berg Description: Debian-specific cluster startup message from initdb Forwarded: No, Debian specific --- a/src/bin/initdb/initdb.c +++ b/src/bin/initdb/initdb.c @@ -3361,9 +3361,10 @@ /* translator: This is a placeholder in a shell command. */ appendPQExpBuffer(start_db_cmd, " -l %s start", _("logfile")); - printf(_("\nSuccess. You can now start the database server using:\n\n" + if (!getenv("CLUSTER_START_COMMAND") || strlen(getenv("CLUSTER_START_COMMAND")) > 0) + printf(_("\nSuccess. You can now start the database server using:\n\n" " %s\n\n"), - start_db_cmd->data); + getenv("CLUSTER_START_COMMAND") ? getenv("CLUSTER_START_COMMAND") : start_db_cmd->data); destroyPQExpBuffer(start_db_cmd);