bundles/mautrix-whatsapp: restart weekly to work around 24/7 connection issues

This commit is contained in:
Franzi 2021-01-29 17:27:33 +01:00
parent fd421bf6f8
commit c31066fea8
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 3 additions and 2 deletions

View file

@ -5,6 +5,9 @@ defaults = {
'golang-go': {}, 'golang-go': {},
}, },
}, },
'cron': {
'restart_mautrix_whatsapp': '0 3 * * 0 root systemctl restart matrix-bridge-whatsapp.service',
},
'icinga2_api': { 'icinga2_api': {
'mautrix-whatsapp': { 'mautrix-whatsapp': {
'services': { 'services': {

View file

@ -75,8 +75,6 @@ nodes['htz.ex42-1048908'] = {
}, },
}, },
'cron': { 'cron': {
# TODO move to a proper bundle
#'restart_mautrix_whatsapp': '0 3 * * * root systemctl restart matrix-bridge-whatsapp.service',
'telekom_nervkram': vault.decrypt('encrypt$gAAAAABfqXi23M96wrSLhqlbhqgePYX06LjPXfyQU2y_07kqYYLztj_PhS1-dk4r5FiiL2Ofmx5iCKW1sZNqiQSuHj2uKaitH0GnwHqj5CI2JwkAS9HrFxw=').format_into('0 0 * * * root date | mail -s \'daily test mail \' -r postmaster@mx0.kunbox.net {}'), 'telekom_nervkram': vault.decrypt('encrypt$gAAAAABfqXi23M96wrSLhqlbhqgePYX06LjPXfyQU2y_07kqYYLztj_PhS1-dk4r5FiiL2Ofmx5iCKW1sZNqiQSuHj2uKaitH0GnwHqj5CI2JwkAS9HrFxw=').format_into('0 0 * * * root date | mail -s \'daily test mail \' -r postmaster@mx0.kunbox.net {}'),
}, },
'gitea': { 'gitea': {