Skip to content

Commit 68ec096

Browse files
committed
opencode: disable fff in systemd unit
User request: Add OPENCODE_DISABLE_FFF=1 to the opencode systemd unit and comment the upstream issue anomalyco/opencode#32511. Decision: Put the compatibility toggle directly beside the other service Environment entries because it affects the managed systemd runtime and should be documented near the generated unit behavior. Agent-Prompt: 帮我修改 opencode 的 systemd unit,添加 OPENCODE_DISABLE_FFF=1 环境变量,注释 [https://github.com/anomalyco/opencode/issues/32511](https://github.com/anomalyco/opencode/issues/32511) Agent-Model: gpt-5.5
1 parent a765c4d commit 68ec096

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎roles/opencode/templates/opencode.service.j2‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ Environment=HOME={{ opencode_home }}
1616
Environment=XDG_RUNTIME_DIR=/run/user/{{ opencode_user_uid }}
1717
Environment=TMPDIR=/tmp
1818
Environment=AGENT_BROWSER_EXECUTABLE_PATH=/usr/bin/chromium
19+
# Disable fff until https://github.com/anomalyco/opencode/issues/32511 is resolved.
20+
Environment=OPENCODE_DISABLE_FFF=1
1921
Environment=PATH=/home/opencode/.cargo/bin:/home/opencode/.npm/global/bin:/home/opencode/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2022
EnvironmentFile={{ opencode_env_file }}
2123
ExecStart={{ opencode_leash_bin }} run {{ opencode_npm_prefix.stdout }}/bin/opencode serve --print-logs --log-level {{ opencode_log_level }} --hostname {{ opencode_web_hostname }} --port {{ opencode_web_port }}

0 commit comments

Comments
 (0)