From e7496b033334814600ba2ced4e21de54e553b4f6 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Fri, 29 Jan 2016 16:34:33 +0100 Subject: [PATCH] Add a hook for letsencrypt --- root/etc/letsencrypt.sh/hooks_deploy_cert.d/20ejabberd | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 root/etc/letsencrypt.sh/hooks_deploy_cert.d/20ejabberd diff --git a/root/etc/letsencrypt.sh/hooks_deploy_cert.d/20ejabberd b/root/etc/letsencrypt.sh/hooks_deploy_cert.d/20ejabberd new file mode 100644 index 0000000..534fdf3 --- /dev/null +++ b/root/etc/letsencrypt.sh/hooks_deploy_cert.d/20ejabberd @@ -0,0 +1,6 @@ +#!/bin/sh + +if [ \!-d /etc/e-smith/events/ssl-update ]; then + sv h /service/ejabberd +fi +exit 0