Skip to content

Instantly share code, notes, and snippets.

@jaytaylor
Created September 25, 2013 19:30
Show Gist options
  • Select an option

  • Save jaytaylor/6704797 to your computer and use it in GitHub Desktop.

Select an option

Save jaytaylor/6704797 to your computer and use it in GitHub Desktop.
Postgresql repmgr daemon upstart script.
console none
start on (local-filesystems and net-device-up IFACE!=lo)
stop on [!12345]
exec start-stop-daemon --start --user postgres --exec /usr/bin/repmgrd -- -f /etc/repmgr.conf --verbose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment