From d029af554c89a85ce5d6c824fd2f147fd7775d8b Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Fri, 16 Oct 2020 13:03:52 +0200 Subject: [PATCH] bundles/travelynx: make sure to restart worker service, too --- bundles/travelynx/items.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bundles/travelynx/items.py b/bundles/travelynx/items.py index ef86e24..3de399b 100644 --- a/bundles/travelynx/items.py +++ b/bundles/travelynx/items.py @@ -16,11 +16,15 @@ files = { '/etc/systemd/system/travelynx.service': { 'triggers': { 'action:systemd-reload', + 'svc_systemd:travelynx:restart', + 'svc_systemd:travelynx-worker:restart', }, }, '/etc/systemd/system/travelynx-worker.service': { 'triggers': { 'action:systemd-reload', + 'svc_systemd:travelynx:restart', + 'svc_systemd:travelynx-worker:restart', }, }, '/opt/travelynx/travelynx.conf': { @@ -31,6 +35,7 @@ files = { }, 'triggers': { 'svc_systemd:travelynx:restart', + 'svc_systemd:travelynx-worker:restart', }, }, } @@ -43,6 +48,7 @@ if isfile(join(repo.path, 'data', 'travelynx', 'files', 'imprint', node.name)): }, 'triggers': { 'svc_systemd:travelynx:restart', + 'svc_systemd:travelynx-worker:restart', }, } @@ -54,6 +60,7 @@ git_deploy = { 'action:travelynx_install_deps', 'action:travelynx_database_migrate', 'svc_systemd:travelynx:restart', + 'svc_systemd:travelynx-worker:restart', }, }, }