*: Drop use of managed_services, rely on Daemon component

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2021-12-04 16:35:57 -05:00
1 parent ba4b58de78
commit 781d8fa18b
39 files changed
+123 -161

No files matched your search

+1 -3
View File
@@ -23,8 +23,6 @@ version = 1
is_essential = True
managed_services = ['ssh']
_description = [
_('A Secure Shell server uses the secure shell protocol to accept '
'connections from remote computers. An authorized remote computer '
@@ -61,7 +59,7 @@ class SSHApp(app_module.App):
is_external=True)
self.add(firewall)
daemon = Daemon('daemon-ssh', managed_services[0])
daemon = Daemon('daemon-ssh', 'ssh')
self.add(daemon)
backup_restore = BackupRestore('backup-restore-ssh', **manifest.backup)