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', }, }, }