From ea42188904b31f4f5aa62058b9552ddb4c288a09 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sun, 22 Oct 2023 08:58:31 +0200 Subject: [PATCH] bundles/oidentd: disable socket based activation --- bundles/oidentd/items.py | 40 +++++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/bundles/oidentd/items.py b/bundles/oidentd/items.py index 723f9fe..fae03b3 100644 --- a/bundles/oidentd/items.py +++ b/bundles/oidentd/items.py @@ -1,24 +1,26 @@ -files = { - '/etc/oidentd.conf': { - 'content_type': 'mako', - 'triggers': { - 'svc_systemd:oidentd:restart', - }, - }, - '/usr/local/lib/systemd/system/oidentd.service': { - 'triggers': { - 'action:systemd-reload', - 'svc_systemd:oidentd:restart', - }, +files['/etc/oidentd.conf'] = { + 'content_type': 'mako', + 'triggers': { + 'svc_systemd:oidentd:restart', }, } -svc_systemd = { - 'oidentd': { - 'needs': { - 'pkg_apt:oidentd', - 'file:/etc/oidentd.conf', - 'file:/usr/local/lib/systemd/system/oidentd.service', - }, +files['/usr/local/lib/systemd/system/oidentd.service'] = { + 'triggers': { + 'action:systemd-reload', + 'svc_systemd:oidentd:restart', }, } + +svc_systemd['oidentd'] = { + 'needs': { + 'pkg_apt:oidentd', + 'file:/etc/oidentd.conf', + 'file:/usr/local/lib/systemd/system/oidentd.service', + }, +} + +svc_systemd['oidentd.socket'] = { + 'running': False, + 'enabled': False, +}