summaryrefslogtreecommitdiffstats
path: root/debian/patches/initdb-startup-message
blob: c164ad9916a01104ccfa1e4117a55e7d7114087c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Christoph Berg <myon@debian.org>
Description: Debian-specific cluster startup message from initdb
Forwarded: No, Debian specific

--- a/src/bin/initdb/initdb.c
+++ b/src/bin/initdb/initdb.c
@@ -3411,7 +3411,7 @@ main(int argc, char *argv[])
 
 	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);