Skip to content

Commit

Permalink
fix: start windows service depending on the worker configuration (#144)
Browse files Browse the repository at this point in the history
Signed-off-by: Yutong Li <52769999+YutongLi291@users.noreply.github.com>
  • Loading branch information
YutongLi291 committed Aug 16, 2024
1 parent afbc5fb commit 602bd3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deadline_test_fixtures/deadline/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ def configure_worker_command(self, *, config: DeadlineWorkerConfiguration) -> st
+ f"--region {config.region} "
+ f"--user {config.agent_user} "
+ f"{'--allow-shutdown ' if config.allow_shutdown else ''}"
+ "--start"
+ f"{'--start ' if config.start_service else ''}"
),
# fmt: on
]
Expand Down

0 comments on commit 602bd3b

Please sign in to comment.