Veiko Aasa 85b6e00001
deluge: Fix app installation on Debian testing
Closes: #2322.

On Debian stable, mark deluge app as not available because deluge-web is not
working in this distribution.

- Default deluged configuration directory location changed. I didn't do
  migration from the old location because deluge app hasn't been working on
  Debian stable.
- Make deluge-web systemd service start after deluged service to prevent
  Connection Manager popup in deluge-web after system reboot.

Tests performed:
- On Debian stable:
  - Deluge app is not installable from the app page.
  - All functional tests are skipped.
- On Debian testing:
  - All tests pass.
  - After reboot, deluge-web service started after deluge service and there
    is no Connection Manager popup in deluge web UI.
  - Changing torrent download directory works.

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
[sunil: Add type signature to an overridden method]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2024-12-11 17:07:49 -08:00

22 lines
487 B
Python

# SPDX-License-Identifier: AGPL-3.0-or-later
from django.utils.translation import gettext_lazy as _
clients = [{
'name': _('Deluge'),
'description': _('Bittorrent client written in Python/PyGTK'),
'platforms': [{
'type': 'web',
'url': '/deluge'
}]
}]
backup = {
'config': {
'directories': ['/var/lib/deluged/config']
},
'services': ['deluged', 'deluge-web']
}
tags = [_('File sharing'), _('BitTorrent'), _('Web client'), _('P2P')]