mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-18 09:10:49 +00:00
email: Add backup/restore component
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
851644574d
commit
bbd0b629f3
@ -10,6 +10,7 @@ import plinth.app
|
||||
from plinth import actions, frontpage, menu
|
||||
from plinth.daemon import Daemon
|
||||
from plinth.modules.apache.components import Webserver
|
||||
from plinth.modules.backups.components import BackupRestore
|
||||
from plinth.modules.config import get_domainname
|
||||
from plinth.modules.firewall.components import Firewall
|
||||
from plinth.modules.letsencrypt.components import LetsEncrypt
|
||||
@ -136,6 +137,10 @@ class EmailApp(plinth.app.App):
|
||||
user_owner='root', group_owner='root', managing_app='email')
|
||||
self.add(letsencrypt)
|
||||
|
||||
backup_restore = BackupRestore('backup-restore-email',
|
||||
**manifest.backup)
|
||||
self.add(backup_restore)
|
||||
|
||||
@staticmethod
|
||||
def post_init():
|
||||
"""Perform post initialization operations."""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user