Systemd service files and installer for OpenCode. Runs opencode web as a user service with daily auto-upgrades.
Install
curl -fsSL https://ocsd.nbr.st/install.sh | bash
~/.config/systemd/user/opencode-web.service — web UI with auto-upgrade on start~/.config/systemd/user/opencode-upgrade.timer — daily upgrade at 05:00~/.opencode/bin/opencode-systemd-wizard — management CLIopencode-systemd status — check servicesopencode-systemd upgrade — manual upgrade + restartopencode-systemd logs — view logssystemctl --user {start,stop,restart} opencode-web.servicecurl -fsSL https://ocsd.nbr.st/uninstall.sh | bash
curl -fsSL https://ocsd.nbr.st/install.sh | bash -s -- --time 03:00:00 --host 0.0.0.0 --port 8080
Or edit service files directly in ~/.config/systemd/user/.