diff --git a/bundlewrap/bundles/voctocore/metadata.py b/bundlewrap/bundles/voctocore/metadata.py index 86cd7467..08d64fb3 100644 --- a/bundlewrap/bundles/voctocore/metadata.py +++ b/bundlewrap/bundles/voctocore/metadata.py @@ -63,6 +63,11 @@ 'streaming_use_dynaudnorm': False, 'vaapi': False, }, + 'voctomix2': { + 'deploy_triggers': { + 'svc_systemd:voctomix2-voctocore:restart', + }, + }, } if not node.has_bundle('zfs'): diff --git a/bundlewrap/bundles/voctogui/items.py b/bundlewrap/bundles/voctogui/items.py index b9b5d063..f117a1f4 100644 --- a/bundlewrap/bundles/voctogui/items.py +++ b/bundlewrap/bundles/voctogui/items.py @@ -22,6 +22,7 @@ }, 'triggers': { 'action:systemd-reload', + 'svc_systemd:voctomix2-voctogui:restart', }, } diff --git a/bundlewrap/bundles/voctogui/metadata.py b/bundlewrap/bundles/voctogui/metadata.py index 1cc6b2a7..82e42082 100644 --- a/bundlewrap/bundles/voctogui/metadata.py +++ b/bundlewrap/bundles/voctogui/metadata.py @@ -27,4 +27,9 @@ 'play_audio': False, 'video_display': 'xv', }, + 'voctomix2': { + 'deploy_triggers': { + 'svc_systemd:voctomix2-voctogui:restart', + }, + }, } diff --git a/bundlewrap/bundles/voctomix2/items.py b/bundlewrap/bundles/voctomix2/items.py index 7b92ff95..5761d2e8 100644 --- a/bundlewrap/bundles/voctomix2/items.py +++ b/bundlewrap/bundles/voctomix2/items.py @@ -15,6 +15,7 @@ git_deploy['/opt/voctomix2/release'] = { 'repo': 'https://github.com/voc/voctomix.git', 'rev': node.metadata.get('voctomix2/rev'), + 'triggers': node.metadata.get('voctomix2/deploy_triggers', set()), } directories['/opt/voctomix2/scripts'] = {