From 00d9152007c46318d193bbec931b22ee6ad10b30 Mon Sep 17 00:00:00 2001 From: Rico Ullmann Date: Tue, 4 Jan 2022 13:19:27 +0100 Subject: [PATCH] ldap-frontend: add monit integration --- bundles/ldap-frontend/metadata.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/bundles/ldap-frontend/metadata.py b/bundles/ldap-frontend/metadata.py index 86b9212..819c9fa 100644 --- a/bundles/ldap-frontend/metadata.py +++ b/bundles/ldap-frontend/metadata.py @@ -17,5 +17,17 @@ defaults = { }, 'title': 'Usermanagement QZWI', }, + 'monit': { + 'services': { + 'ldap-frontend': { + 'bin': '/opt/ldap-frontend/venv/bin/python /opt/ldap-frontend/venv/bin/gunicorn', + 'ports': { + '23000': { + 'protocol': 'http', + }, + }, + }, + }, + }, }