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