*: 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
@@ -18,8 +18,6 @@ version = 2
is_essential = True
managed_services = ['systemd-timesyncd']
_description = [
_('Network time server is a program that maintains the system time '
'in synchronization with servers on the Internet.')
@@ -76,7 +74,7 @@ class DateTimeApp(app_module.App):
self.add(menu_item)
if self._is_time_managed():
daemon = Daemon('daemon-datetime', managed_services[0])
daemon = Daemon('daemon-datetime', 'systemd-timesyncd')
self.add(daemon)
backup_restore = BackupRestore('backup-restore-datetime',