diff --git a/hooks/post_cert_update b/hooks/post_cert_update new file mode 100755 index 0000000..a92da95 --- /dev/null +++ b/hooks/post_cert_update @@ -0,0 +1,7 @@ +#!/bin/bash + +domain=$1 +app=$(basename "$0") +app=${app#50-} # all hooks are nammed "50-$app". + +systemctl restart "$app" \ No newline at end of file diff --git a/manifest.json b/manifest.json index e0147ed..4b587f6 100644 --- a/manifest.json +++ b/manifest.json @@ -13,9 +13,9 @@ "email": "jean-baptiste@holcroft.fr" }, "requirements": { - "yunohost": ">= 3.1.0" + "yunohost": ">= 3.4.0" }, - "version": "1.2.8~ynh6", + "version": "1.2.8~ynh7", "multi_instance": true, "services": [ ],