Skip to content

Commit 13d60e1

Browse files
authored
feat: append additional configuration to deadline-worker systemd config during linux worker setup (#181)
Signed-off-by: Godot Bian <[email protected]> Co-authored-by: Godot Bian <[email protected]>
1 parent 3e85e5a commit 13d60e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/deadline_test_fixtures/deadline/worker.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ def configure_agent_user_environment(
698698
cmds.extend(
699699
[
700700
"mkdir -p /etc/systemd/system/deadline-worker.service.d/",
701-
'echo "[Service]" > /etc/systemd/system/deadline-worker.service.d/config.conf',
701+
'echo "[Service]" >> /etc/systemd/system/deadline-worker.service.d/config.conf',
702702
# Configure the region
703703
f'echo "Environment=AWS_REGION={config.region}" >> /etc/systemd/system/deadline-worker.service.d/config.conf',
704704
f'echo "Environment=AWS_DEFAULT_REGION={config.region}" >> /etc/systemd/system/deadline-worker.service.d/config.conf',

0 commit comments

Comments
 (0)