mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
23 lines
548 B
Python
23 lines
548 B
Python
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
from django.utils.translation import ugettext_lazy as _
|
|
|
|
from plinth.clients import validate
|
|
from plinth.modules.backups.api import validate as validate_backup
|
|
|
|
clients = validate([{
|
|
'name': _('Deluge'),
|
|
'description': _('Bittorrent client written in Python/PyGTK'),
|
|
'platforms': [{
|
|
'type': 'web',
|
|
'url': '/deluge'
|
|
}]
|
|
}])
|
|
|
|
backup = validate_backup({
|
|
'config': {
|
|
'directories': ['/var/lib/deluged/.config']
|
|
},
|
|
'services': ['deluged', 'deluge-web']
|
|
})
|