opencode-cloud-core 25.1.3

Core library for opencode-cloud - config management, singleton enforcement, and shared utilities
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=opencode Web Interface
After=network.target opencode-broker.service

[Service]
Type=simple
User=opencode
WorkingDirectory=/home/opencoder/workspace
ExecStart=/bin/bash -lc "OPENCODE_PORT=${OPENCODE_PORT:-${PORT:-3000}}; OPENCODE_HOST=${OPENCODE_HOST:-0.0.0.0}; exec /opt/opencode/bin/opencode web --port ${OPENCODE_PORT} --hostname ${OPENCODE_HOST}"
Restart=always
RestartSec=5
Environment=PATH=/opt/opencode/bin:/home/opencoder/.local/bin:/home/opencoder/.cargo/bin:/home/opencoder/.local/share/mise/shims:/home/opencoder/.bun/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

[Install]
WantedBy=multi-user.target