Skip to content

Commit

Permalink
Default pghost for debian package
Browse files Browse the repository at this point in the history
  • Loading branch information
ioguix committed Nov 27, 2019
1 parent 264b957 commit 2c088cd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions debian/patches/10-default-host.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/script/pgsqlms b/script/pgsqlms
index 0f49b1c..56583d9 100755
--- a/script/pgsqlms
+++ b/script/pgsqlms
@@ -48,7 +48,7 @@ my %OCF_NOTIFY_ENV = ocf_notify_env() if $__OCF_ACTION eq 'notify';
my $system_user_default = "postgres";
my $bindir_default = "/usr/bin";
my $pgdata_default = "/var/lib/pgsql/data";
-my $pghost_default = "/tmp";
+my $pghost_default = "/var/run/postgresql";
my $pgport_default = 5432;
my $start_opts_default = "";
my $maxlag_default = "0";
1 change: 1 addition & 0 deletions debian/patches/series
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
10-default-host.patch

0 comments on commit 2c088cd

Please sign in to comment.