59b2c10c43
- Implemented handlers for restarting code-server and OpenCode services. - Created main tasks for setting up a Linux development station, including user management, package installation, and configuration. - Added validation for OpenCode server credentials and code-server password. - Introduced tool package management for npm, uv, and go installers. - Developed templates for systemd service units for code-server and OpenCode. - Included scripts for starting code-server and OpenCode with SSH agent support. - Updated inventory and Terraform configuration to include new development host.
12 lines
257 B
Django/Jinja
12 lines
257 B
Django/Jinja
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
{% if linux_dev_station_ssh_agent_enabled | bool %}
|
|
source "{{ linux_dev_station_scripts_dir }}/ssh-agent-start.sh"
|
|
{% endif %}
|
|
|
|
cd {{ linux_dev_station_workspace_dir }}
|
|
|
|
exec {{ linux_dev_station_opencode_command }}
|