mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
doc/dev: Remove mention of managed_services
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
781d8fa18b
commit
40830f73f1
2 files changed
+1
-11
No files matched your search
@@ -92,15 +92,13 @@ our app's class.
|
||||
|
||||
from plinth.daemon import Daemon
|
||||
|
||||
managed_services = ['transmission-daemon']
|
||||
|
||||
class TransmissionApp(app_module.App):
|
||||
...
|
||||
|
||||
def __init__(self):
|
||||
...
|
||||
|
||||
daemon = Daemon('daemon-transmission', managed_services[0],
|
||||
daemon = Daemon('daemon-transmission', 'transmission-daemon',
|
||||
listen_ports=[(9091, 'tcp4')])
|
||||
self.add(daemon)
|
||||
|
||||
|
||||
Reference in new issue
Block a user