bundles/mx-puppet-discord: restart bridge if config or registration changed

This commit is contained in:
Franzi 2020-04-04 18:32:18 +02:00
parent 30d4b2597c
commit 29eeffbdc3
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -15,6 +15,7 @@ files = {
}, },
'triggers': { 'triggers': {
'action:mx-puppet-discord_generate_registration', 'action:mx-puppet-discord_generate_registration',
'svc_systemd:mx-puppet-discord:restart',
}, },
}, },
'/etc/systemd/system/mx-puppet-discord.service': { '/etc/systemd/system/mx-puppet-discord.service': {
@ -70,6 +71,9 @@ actions = {
'action:mx-puppet-discord_npm_build', 'action:mx-puppet-discord_npm_build',
'directory:/var/log/mx-puppet-discord', 'directory:/var/log/mx-puppet-discord',
}, },
'triggers': {
'svc_systemd:mx-puppet-discord:restart',
},
'triggered': True, 'triggered': True,
}, },
} }