Permalink
Browse files

Commented on new :after configuration option

  • Loading branch information...
1 parent 9508f0c commit 0faea602b2b3ce4e3e86e64e3cca62c636cf8534 @lwille committed Mar 13, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
4 README.md
@@ -41,13 +41,13 @@ Example hosts_allowed.yml file:
path: '/etc/postgresql/8.3/main/pg_hba.conf'
comment: "# #{name}/#{host}"
line: "hostssl\tall\t\tall\t\t#{ip}/32\tmd5"
-
+ after: "kill -HUP `cat /var/run/postgresql/8.3-main.pid`"
This example configuration will place the lines
# eric/eric.kicks-ass.net
hostssl all all 84.123.19.250/32 md5
# fred/fred.homelinux.org
hostssl all all 118.124.164.267/32 md5
-between the # BEGIN .. # END lines of your postgresql access configuration file.
+between the # BEGIN .. # END lines of your postgresql access configuration file and send HUP to the postgres process to enforce reloading of the configuration.
The block notation recognized by the script looks like:
# BEGIN allowed_hosts

0 comments on commit 0faea60

Please sign in to comment.