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
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user