Example #1
0
func installHAProxyHooks() {
	notify.ReplaceHook(*hooksFlag, "haproxy", strings.Replace(haproxyReloadHookFile, "@@ACME_STATE_DIR@@", *stateFlag, -1))
}
Example #2
0
func installDefaultHooks() {
	notify.ReplaceHook(*hooksFlag, "reload", reloadHookFile)
	// fail silently, allow non-root, makes travis work.
}