mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +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 import actions, frontpage, menu
|
||||||
from plinth.daemon import Daemon
|
from plinth.daemon import Daemon
|
||||||
from plinth.modules.apache.components import Webserver
|
from plinth.modules.apache.components import Webserver
|
||||||
|
from plinth.modules.backups.components import BackupRestore
|
||||||
from plinth.modules.config import get_domainname
|
from plinth.modules.config import get_domainname
|
||||||
from plinth.modules.firewall.components import Firewall
|
from plinth.modules.firewall.components import Firewall
|
||||||
from plinth.modules.letsencrypt.components import LetsEncrypt
|
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')
|
user_owner='root', group_owner='root', managing_app='email')
|
||||||
self.add(letsencrypt)
|
self.add(letsencrypt)
|
||||||
|
|
||||||
|
backup_restore = BackupRestore('backup-restore-email',
|
||||||
|
**manifest.backup)
|
||||||
|
self.add(backup_restore)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def post_init():
|
def post_init():
|
||||||
"""Perform post initialization operations."""
|
"""Perform post initialization operations."""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user