mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
24 lines
673 B
Python
24 lines
673 B
Python
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
"""
|
|
Application manifest for cockpit.
|
|
"""
|
|
|
|
from django.utils.translation import ugettext_lazy as _
|
|
|
|
from plinth.modules.backups.api import validate as validate_backup
|
|
from plinth.clients import validate
|
|
|
|
clients = validate([{
|
|
'name': _('Cockpit'),
|
|
'platforms': [{
|
|
'type': 'web',
|
|
'url': '/_cockpit/'
|
|
}]
|
|
}])
|
|
|
|
# cockpit.conf need not be backed up because add/remove domain signals are
|
|
# triggered on every Plinth domain change (and cockpit application install) and
|
|
# will set the value of allowed domains correctly. This is the only key the is
|
|
# customized in cockpit.conf.
|
|
backup = validate_backup({})
|