Sunil Mohan Adapa a28dc369d3
ttrss: Include dbconfig configuration file in backup
- This will ensure that dbconfig is every triggered and regenerates the
configuration/setup, everything is consistent.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-03-31 20:48:19 -04:00

64 lines
1.5 KiB
Python

# SPDX-License-Identifier: AGPL-3.0-or-later
from django.utils.translation import gettext_lazy as _
from plinth.clients import store_url
clients = [
{
'name':
_('Tiny Tiny RSS (TTTRSS)'),
'platforms': [{
'type': 'store',
'os': 'android',
'store_name': 'f-droid',
'url': store_url('f-droid', 'org.fox.tttrss')
}]
},
{
'name':
_('TTRSS-Reader'),
'platforms': [{
'type': 'store',
'os': 'android',
'store_name': 'google-play',
'url': store_url('google-play', 'org.ttrssreader')
}, {
'type': 'store',
'os': 'android',
'store_name': 'f-droid',
'url': store_url('f-droid', 'org.ttrssreader')
}]
},
{
'name':
_('Geekttrss'),
'platforms': [{
'type': 'store',
'os': 'android',
'store_name': 'google-play',
'url': store_url('google-play', 'com.geekorum.ttrss')
}]
},
{
'name': _('Tiny Tiny RSS'),
'platforms': [{
'type': 'web',
'url': '/tt-rss'
}]
},
]
backup = {
'data': {
'files': ['/var/lib/plinth/backups-data/ttrss-database.sql']
},
'secrets': {
'files': [
'/etc/tt-rss/database.php',
'/etc/dbconfig-common/tt-rss.conf',
]
},
'services': ['tt-rss']
}