diff --git a/plinth/modules/names/__init__.py b/plinth/modules/names/__init__.py index 139ea2e41..8fbd8a1e5 100644 --- a/plinth/modules/names/__init__.py +++ b/plinth/modules/names/__init__.py @@ -25,6 +25,8 @@ from django.utils.translation import ugettext_lazy as _ from plinth.menu import main_menu from plinth.signals import domain_added, domain_removed +from .manifest import backup + SERVICES = ( ('http', _('HTTP'), 80), ('https', _('HTTPS'), 443), diff --git a/plinth/modules/names/manifest.py b/plinth/modules/names/manifest.py new file mode 100644 index 000000000..8528437a3 --- /dev/null +++ b/plinth/modules/names/manifest.py @@ -0,0 +1,23 @@ +# +# This file is part of FreedomBox. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +""" +Application manifest for names. +""" + +from plinth.modules.backups.api import validate as validate_backup + +backup = validate_backup({})