mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
*: 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:
1 parent
ba4b58de78
commit
781d8fa18b
39 files changed
+123
-161
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user