[elbe-devel] [PATCH] elbepack: daemon: drop subdaemon CLI arguments
Thomas Weißschuh
thomas.weissschuh at linutronix.de
Tue Jul 9 07:53:02 CEST 2024
All subdaemon are always enabled.
Remove the backwards-compatibility noop arguments as they have been
removed from the initscript.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
elbepack/commands/daemon.py | 5 -----
1 file changed, 5 deletions(-)
diff --git a/elbepack/commands/daemon.py b/elbepack/commands/daemon.py
index 24de196c9b70..7861ec292b9c 100644
--- a/elbepack/commands/daemon.py
+++ b/elbepack/commands/daemon.py
@@ -76,11 +76,6 @@ def run_command(argv):
oparser.add_option('--port', dest='port', type=int, default=7587,
help='port to host daemon')
- for d in daemons:
- # unused, compatibility with old initscripts
- oparser.add_option('--' + str(d), dest='_ignored', default=False,
- action='store_true', help='enable ' + str(d))
-
(opt, _) = oparser.parse_args(argv)
with contextlib.ExitStack() as stack:
---
base-commit: 71c96e3c70465ed5f3f9491d4628a6b7aececb8c
change-id: 20240709-subdaemons-ada8af9b0ef1
Best regards,
--
Thomas Weißschuh <thomas.weissschuh at linutronix.de>
More information about the elbe-devel
mailing list