Skip to content

Commit

Permalink
Commented on new :after configuration option
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonhardt Wille committed Mar 13, 2010
1 parent 9508f0c commit 0faea60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -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
Expand Down

0 comments on commit 0faea60

Please sign in to comment.